farben 0.15.0

Markup for the Terminal, but safer and faster.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use farben::color_fmt; // the proc-macro version

fn main() {
    // Runtime version
    // println!("{}", color("[red]I'm red!"));

    // Compile-time version
    // println!("{}", color!("[blue]I'm blue, compiled!"));

    // Format args version
    let name = "Razkar";
    println!("{}", color_fmt!("[green]Hello, {}!", name));
}