#go #colorize #port

colorstring

Rust's implementation of colorstring.go

1 unstable release

Uses old Rust 2015

0.0.1 Feb 2, 2017

#12 in #colorize

MIT license

7KB
131 lines

colorstring.rs docs.rs Build Status

An unofficial port of mitchellh's colorstring, written in Rust.

Examples

extern crate colorstring;
use colorstring::Colorize;

let c = Colorize::new();
println!("{}", c.color("[blue]Hello, [blue]world"));

License

This software is under the MIT license. See LICENSE for details.

Dependencies

~3.5MB
~72K SLoC