Registry / observability / tracing-indicatif

tracing-indicatif

JSON →
library0.3.14rscratesunverified

Tracing layer that automatically creates and manages progress bars for active spans.

# Cargo.toml [dependencies] tracing-indicatif = "0.3.14"
INSTALL
IMPORT
SIG · TRACING-INDICATIF
T
tracing-indicatif
observabilityrustv0.3.14
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IndicatifLayer
use tracing_indicatif::IndicatifLayer;

Sets up a tracing subscriber with an IndicatifLayer for progress bars.

use tracing_indicatif::IndicatifLayer; use tracing_subscriber::prelude::*; fn main() { let indicatif_layer = IndicatifLayer::new(); tracing_subscriber::registry() .with(indicatif_layer) .init(); println!("Progress bar layer initialized"); }
Debug
Known issues
gotchaProgress bars may not display correctly in non-interactive terminals or when output is piped.
fix
Use the `ProgressBar::set_draw_target` method to handle non-TTY environments.
affects: >=0.3.0
Upgrade
Version history
0.3.14latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
28
Amazon
1
OpenAI (training)
1
Resources
tracing-indicatif — cargo add tracing-indicatif · libregistry