fancyer 0.2.1

Easily print colored text at runtime.
Documentation
1
2
3
4
5
6
7
8
9
10

use fancyer::colorize;

#[test]
fn format() {

    let msg = colorize("[blue|b]Hello [:u|red]world[:b]!".into());
    println!("{}", msg);

}