Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/console-rs/indicatif
A command line progress reporting library for Rust
https://github.com/console-rs/indicatif
Last synced: 1 day ago
JSON representation
A command line progress reporting library for Rust
- Host: GitHub
- URL: https://github.com/console-rs/indicatif
- Owner: console-rs
- License: mit
- Created: 2017-04-23T13:54:48.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-20T19:52:15.000Z (4 months ago)
- Last Synced: 2024-10-29T16:58:59.287Z (3 months ago)
- Language: Rust
- Size: 1.97 MB
- Stars: 4,396
- Watchers: 19
- Forks: 242
- Open Issues: 79
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rust-cn - mitsuhiko/indicatif
- awesome-rust - console-rs/indicatif
- awesome-rust-cn - console-rs/indicatif
- awesome-rust - console-rs/indicatif - indicate progress to users (Libraries / Command-line)
- awesome-starred - console-rs/indicatif - A command line progress reporting library for Rust (others)
- fucking-awesome-rust - console-rs/indicatif - indicate progress to users (Libraries / Command-line)
- fucking-awesome-rust - console-rs/indicatif - indicate progress to users (Libraries / Command-line)
- awesomeLibrary - indicatif - A command line progress reporting library for Rust (语言资源库 / rust)
README
# indicatif
[![Documentation](https://docs.rs/indicatif/badge.svg)](https://docs.rs/indicatif/)
[![Crates.io](https://img.shields.io/crates/v/indicatif.svg)](https://crates.io/crates/indicatif)
[![Build status](https://github.com/console-rs/indicatif/workflows/CI/badge.svg)](https://github.com/console-rs/indicatif/actions/workflows/rust.yml)
[![Chat](https://img.shields.io/discord/976380008299917365?logo=discord)](https://discord.gg/YHmNA3De4W)A Rust library for indicating progress in command line applications to users.
This currently primarily provides progress bars and spinners as well as basic
color support, but there are bigger plans for the future of this!## Examples
[examples/yarnish.rs](examples/yarnish.rs)
[examples/download.rs](examples/download.rs)
[examples/multi.rs](examples/multi.rs)
[examples/single.rs](examples/single.rs)
## Integrations
You can use [indicatif-log-bridge](https://crates.io/crates/indicatif-log-bridge) to integrate with the
[log crate](https://crates.io/crates/log) and avoid having both fight for your terminal.You can use [tracing-indicatif](https://crates.io/crates/tracing-indicatif) to integrate with the
[tracing crate](https://crates.io/crates/tracing) with automatic progress bar management
for active tracing spans, as well as ensure that tracing
log events do not interfere with active progress bars.