farben 0.19.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::cformat; // 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!("{}", cformat!("[green]Hello, {name}!"));
}