ransidsole

Crates.ioransidsole
lib.rsransidsole
version0.1.0
sourcesrc
created_at2016-08-01 18:56:47.931221
updated_at2016-08-01 18:56:47.931221
descriptionANSI colour and styling for terminal text.
homepagehttps://github.com/russmack/ransid
repositoryhttps://github.com/russmack/ransid.git
max_upload_size
id5862
size10,141
russ (russmack)

documentation

https://github.com/russmack/ransid

README

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

Commit count: 7

cargo fmt