gilt 1.4.1

Fast, beautiful terminal formatting for Rust — styles, tables, trees, syntax highlighting, progress bars, markdown.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Rainbow text demo. Run: `cargo run --example rainbow`

use gilt::console::Console;
use gilt::gradient::Gradient;

fn main() {
    Console::default().print(&Gradient::rainbow(
        "I must not fear. Fear is the mind-killer.",
    ));
}