Debian Codegraph @

debian/rust-vendor/indicatif/README.md

raw
1 # indicatif
2
3 [![Documentation](https://docs.rs/indicatif/badge.svg)](https://docs.rs/indicatif/)
4 [![Crates.io](https://img.shields.io/crates/v/indicatif.svg)](https://crates.io/crates/indicatif)
5 [![Build status](https://github.com/console-rs/indicatif/workflows/CI/badge.svg)](https://github.com/console-rs/indicatif/actions/workflows/rust.yml)
6 [![Chat](https://img.shields.io/discord/976380008299917365?logo=discord)](https://discord.gg/YHmNA3De4W)
7
8 A Rust library for indicating progress in command line applications to users.
9
10 This currently primarily provides progress bars and spinners as well as basic
11 color support, but there are bigger plans for the future of this!
12
13 ## Examples
14
15 [examples/yarnish.rs](examples/yarnish.rs)
16 <img src="https://github.com/console-rs/indicatif/blob/main/screenshots/yarn.gif?raw=true">
17
18 [examples/download.rs](examples/download.rs)
19 <img src="https://github.com/console-rs/indicatif/blob/main/screenshots/download.gif?raw=true">
20
21 [examples/multi.rs](examples/multi.rs)
22 <img src="https://github.com/console-rs/indicatif/blob/main/screenshots/multi-progress.gif?raw=true">
23
24 [examples/single.rs](examples/single.rs)
25 <img src="https://github.com/console-rs/indicatif/blob/main/screenshots/single.gif?raw=true">
26
27 ## Integrations
28
29 You can use [indicatif-log-bridge](https://crates.io/crates/indicatif-log-bridge) to integrate with the
30 [log crate](https://crates.io/crates/log) and avoid having both fight for your terminal.
31
32 You can use [tracing-indicatif](https://crates.io/crates/tracing-indicatif) to integrate with the
33 [tracing crate](https://crates.io/crates/tracing) with automatic progress bar management
34 for active tracing spans, as well as ensure that tracing
35 log events do not interfere with active progress bars.