yansi

Build Status Current Crates.io Version Documentation

A dead simple ANSI terminal color painting library for Rust.

```rust use yansi::Paint;

print!("{} light, {} light!", Paint::green("Green"), Paint::red("red").underline()); ```

See the documentation for more.

Why?

Several terminal coloring libraries exist ([ansi_term], [colored], [term_painter], to name a few), begging the question: why yet another? Here are a few reasons:

All that being said, this library borrows API ideas from the three libraries as well as implementation details from [ansi_term].

License

yansi is licensed under either of the following, at your option: