1 unstable release

Uses old Rust 2015

0.1.0 Aug 1, 2016

#897 in Command-line interface

Custom license

9KB
125 lines

ransid

Rust library providing ansi colour and style for the terminal.

Usage

Run the example:

cargo build --release
./target/release/ransid-example

Use the library:

let s = "I am black on green.".black().bg_green().underline();
println!("{}", s);

Or

let style = new_style().gray().bg_blue().bold().blink_slow();
println!(style.render("I am white on blue."));

License

BSD 3-Clause: LICENSE.txt

LICENSE

No runtime deps