ansi 0.1.0

docs.rs failed to build ansi-0.1.0
Please check the build logs and, if you believe this is docs.rs' fault, open an issue.

ansi.rs

A utility library in Rust to wrap blobs in ANSI character codes, giving them color and style.

Built using Cargo.

Usage

All styles can chain into new styles, by calling a relevant method. Styles can also be added together to create new ones (Red + Strike).

#![feature(unboxed_closures)]
extern crate ansi;

fn main() {
    println!("{} {}!", ansi::Blue("Hello"), ansi::Red.bold()("World"));
}

TODO

  • Docs
  • Faster

License

MPLv2.0