Revert "[feat] introduce Config for centralized runtime settings; refactor progress management and backend selection to leverage config"

This reverts commit 9120e8fb26.
This commit is contained in:
2025-08-12 06:00:10 +02:00
parent 03659448bc
commit d3310695d2
4 changed files with 19 additions and 63 deletions

View File

@@ -107,13 +107,6 @@ impl ProgressFactory {
_ => ProgressManager::noop(),
}
}
/// Preferred constructor using Config. Respects config.no_progress and TTY.
pub fn from_config(config: &crate::Config) -> Self {
// Prefer Config.no_progress over manual flag; still honor NO_PROGRESS env var.
let force_disable = config.no_progress;
Self::new(force_disable)
}
}
#[derive(Clone)]