| Crates.io | fast-rich |
| lib.rs | fast-rich |
| version | 0.3.2 |
| created_at | 2025-12-31 16:39:10.292854+00 |
| updated_at | 2026-01-11 16:33:29.773003+00 |
| description | A Rust port of Python's Rich library for beautiful terminal formatting |
| homepage | https://github.com/mohammad-albarham/fast-rich |
| repository | https://github.com/mohammad-albarham/fast-rich |
| max_upload_size | |
| id | 2014988 |
| size | 625,544 |
High-performance Rust port of Python's popular Rich library.
Beautiful terminal formatting for Rust applications.

[!IMPORTANT] This project is currently in Alpha. APIs are subject to change, and some features may be incomplete.
Fast-Rich empowers your terminal applications with rich text, tables, syntax highlighting, markdown rendering, and more, all with an idiomatic and safe Rust API.
Experience the library's breadth with our automated demonstration:

Unicode borders, automatic column alignment, and smart wrapping.

Full support for various themes and languages via syntect.

Multi-threaded tracking with spinners, ETAs, and customizable columns.

Flicker-free, auto-updating content for real-time monitoring.

Render hierarchical data and layouts with ease.
log crate.

Add fast-rich to your Cargo.toml:
[dependencies]
fast-rich = "0.3.2"
To enable all features (including Syntax Highlighting and Markdown, which bring in extra dependencies):
[dependencies]
fast-rich = { version = "0.3.2", features = ["full"] }
Or pick specific features:
[dependencies]
fast-rich = { version = "0.3.2", features = ["syntax", "markdown", "logging"] }
use fast_rich::prelude::*;
fn main() {
let console = Console::new();
// Styled text using markup
console.print("[bold red]Hello[/] [blue]World[/]!");
// Create a table
let mut table = Table::new();
table.add_column("Features");
table.add_column("Status");
table.add_row_strs(&["Rich Text", "✅ Ready"]);
table.add_row_strs(&["Tables", "✅ Ready"]);
// Render the table
console.print_renderable(&table);
}
Detailed guides and API references are available at our official documentation site:
👉 mohammad-albarham.github.io/fast-rich
docs.rs.Run the included examples to see features in action:
# Core features
cargo run --example showcase
cargo run --example hero
# Print macros (drop-in replacement for std::print!)
cargo run --example print_shadowing
# Progress bars and spinners
cargo run --example progress_rich
cargo run --example spinner_column_demo
cargo run --example all_spinners_demo
# Other features
cargo run --example syntax_highlighting --features syntax
cargo run --example live_clock
cargo run --example logging --features logging
| Feature | Python Rich | Fast-Rich |
|---|---|---|
| Rich Text | ✅ | ✅ |
| Tables | ✅ | ✅ |
| Progress | ✅ | ✅ |
| Live Display | ✅ | ✅ |
| Syntax Highlighting | ✅ | ✅ |
| Markdown | ✅ | ✅ |
| Layouts | ✅ | ✅ |
| Tracebacks | ✅ | ✅ |
| Inspect | ✅ | ✅ |
Contributions are welcome! Please check out CONTRIBUTING.md for guidelines on how to get started.
Thanks to everyone who has contributed to Fast-Rich! 🙏
Special thanks to:
MIT or Apache-2.0