feat: global progress bar

Also fix me having no foresight and executing things
inside log::debug! macros
This commit is contained in:
2025-04-17 07:44:05 +00:00
parent 658a69a1e2
commit e9550e8eee
13 changed files with 127 additions and 33 deletions

View File

@ -81,6 +81,7 @@ pub struct Remote {
pub nsfw: bool,
pub categories: Vec<String>,
pub dependencies: BTreeSet<PkgKey>,
pub file_size: i64,
}
impl PkgKey {
@ -112,7 +113,8 @@ impl Package {
nsfw: p.has_nsfw_content,
version: v.version_number,
categories: p.categories,
dependencies: Self::sanitize_deps(v.dependencies)
dependencies: Self::sanitize_deps(v.dependencies),
file_size: v.file_size
}),
source: PackageSource::Rainy,
})