| What it is | Terminal access, colours and styling for Rust command-line apps | The simplest way to add colours in your terminal from Rust | Cross-platform terminal manipulation for Rust, on Unix and Windows | Progress bars and spinners for Rust command-line apps |
| Features | - Term type for terminal access, directly or buffered
- colours and styles with style() and reusable Style values
- colour detection from the tty, following the clicolors convention
- strip_ansi_codes and measure_text_width for formatting
- optional unicode-width dependency
| - Colour and style strings with chained methods like .red().on_blue().bold()
- True colour from RGB values, tuples or hex strings
- Bright colours, bold, italic and other styles
- Respects CLICOLOR, CLICOLOR_FORCE and NO_COLOR
- Works with format! padding and truncation
| - works on Unix and Windows terminals
- cursor movement, position, hiding and blinking
- 16, 256 and RGB colours and text attributes
- raw mode, alternate screen, clearing, scrolling and terminal size
- keyboard, mouse and resize events, with an optional futures Stream
| - progress bars and spinners
- several progress bars at once
- basic colour support
- indicatif-log-bridge integration with the log crate
- tracing-indicatif integration with the tracing crate
|