MCPcopy Index your code
hub / github.com/console-rs/indicatif

github.com/console-rs/indicatif @0.18.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.18.6 ↗ · + Follow
484 symbols 1,581 edges 30 files 136 documented · 28%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

indicatif

Documentation Crates.io Build status Chat

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/download.rs

examples/multi.rs

examples/single.rs

Integrations

You can use indicatif-log-bridge to integrate with the log crate and avoid having both fight for your terminal.

You can use tracing-indicatif to integrate with the tracing crate with automatic progress bar management for active tracing spans, as well as ensure that tracing log events do not interfere with active progress bars.

Extension points exported contracts — how you extend this code

MustBeThreadSafe (Interface)
(no doc) [8 implementers]
src/lib.rs
ProgressTracker (Interface)
Trait for defining stateful or stateless formatters [2 implementers]
src/style.rs
TermLike (Interface)
A trait for minimal terminal-like behavior. Anything that implements this trait can be used a draw target via [`Progres [2 …
src/term_like.rs
ProgressIterator (Interface)
Wraps an iterator to display its progress. [1 implementers]
src/iter.rs
ParallelProgressIterator (Interface)
(no doc) [1 implementers]
src/rayon.rs

Core symbols most depended-on inside this repo

clone
called by 81
src/style.rs
add
called by 75
src/multi.rs
tick
called by 50
src/state.rs
inc
called by 47
src/state.rs
state
called by 43
src/progress_bar.rs
clear
called by 34
src/multi.rs
format_state
called by 27
src/style.rs
println
called by 26
src/multi.rs

Shape

Method 280
Function 135
Class 46
Enum 18
Interface 5

Languages

Rust100%

Modules by API surface

src/progress_bar.rs82 symbols
src/draw_target.rs59 symbols
src/state.rs54 symbols
src/style.rs53 symbols
src/iter.rs44 symbols
tests/render.rs39 symbols
src/multi.rs38 symbols
src/rayon.rs27 symbols
src/in_memory.rs25 symbols
src/format.rs22 symbols
src/term_like.rs12 symbols
examples/multi-tree-ext.rs7 symbols

For agents

$ claude mcp add indicatif \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page