feat: add indicatif crate
This commit is contained in:
1 parent
0a2bac8715
commit
eb0145173d
2 files changed
+1
-5
No files matched your search
+1
-1
@@ -36,7 +36,7 @@ regex = "1.5.4"
|
||||
chrono = "0.4.19"
|
||||
anyhow = "1.0.53"
|
||||
hyper = "0.14.17"
|
||||
loading = "0.3.0"
|
||||
indicatif = "0.16.2"
|
||||
|
||||
axum = { version = "0.5.1", features = ["ws", "headers"] }
|
||||
tower-http = { version = "0.2.2", features = ["fs", "trace"] }
|
||||
|
||||
@@ -75,8 +75,6 @@ pub fn build(config: &CrateConfig, quiet: bool) -> Result<()> {
|
||||
ExecutableType::Example(name) => cmd.arg("--example").arg(name),
|
||||
};
|
||||
|
||||
let loading = loading::Loading::default();
|
||||
loading.text("Building");
|
||||
let mut child = cmd.spawn()?;
|
||||
let out = child.stdout.take().unwrap();
|
||||
let mut out = std::io::BufReader::new(out);
|
||||
@@ -96,8 +94,6 @@ pub fn build(config: &CrateConfig, quiet: bool) -> Result<()> {
|
||||
}
|
||||
}
|
||||
}
|
||||
loading.success("OK");
|
||||
loading.end();
|
||||
|
||||
// if !output.status.success() {
|
||||
// log::error!("Build failed!");
|
||||
|
||||
Reference in new issue
Block a user