fast-rich 0.3.2

A Rust port of Python's Rich library for beautiful terminal formatting
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    let v: Vec<String> = vec!["admin".to_string(), "editor".to_string()];
    let formatted = format!("roles: {:?}", v);
    println!("Direct Rust print: {}", formatted);

    // Now through fast-rich
    use fast_rich::Console;
    let console = Console::new();
    console.print("Through console.println: ");
    console.println(&formatted);
}