colorstring 0.0.1

Rust's implementation of colorstring.go
Documentation
  • Coverage
  • 80%
    4 out of 5 items documented0 out of 4 items with examples
  • Size
  • Source code size: 10.02 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.45 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • ubnt-intrepid/colorstring.rs
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ubnt-intrepid

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.