1 unstable release

Uses old Rust 2015

0.1.0 Jul 9, 2015

#20 in #styling

4KB
119 lines

chalk

# Chalk Chalk is a terminal styling library for rust.

Usage

[dependencies]
chalk = "0.1.0"
extern crate chalk;

use chalk::colors::Colors::*;
use chalk::Chalk;

fn main() {
    let red_blue = Chalk::new(Red, "Hello World")
        .underline()
        .bg(Blue)
        .bold()
        .color();

    println!("{}", red_blue);
}

No runtime deps