docs.rs failed to build ansi-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
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