macro_rules! status {
( $verb:expr, $fmt:literal $($tt:tt)* ) => { ... };
}
Expand description
Display a status/progress lines in the same style as cargo or rustc:
Documenting mmrbi v0.0.0 (C:\local\mmrbi)
Finished dev [debuginfo] target(s) in 0.91s
Example
status!("Documenting", "{} {} ({})", "mmrbi", "v0.0.0", r"C:\local\mmrbi");
status!("Finished", "{} [{}] target(s) in {}s", "dev", "debuginfo", "0.91");