rainbowcoat 0.1.0

Adds rainbows over writers
Documentation
  • Coverage
  • 71.43%
    5 out of 7 items documented2 out of 5 items with examples
  • Size
  • Source code size: 45.2 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.52 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • softprops/rainbowcoat
    3 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • softprops

rainbowcoat Build Status Coverage Status Crates.io

Adds rainbows over writers (inspired by lolcat)

Documentation

intall

Add the following to your Cargo.toml file

[dependencies]
rainbowcoat = "0.1"

usage

extern crate rainbowcoat;
use std::io::Write;

fn main() {
  write!(
    &mut rainbowcoat::Colors::configure(
      io::stdout(), 2.0, 0.4, 0.0
    ),
    "              _
                 ( |
                   |
            __,--./|.--,__
          .`   \ \ / /    `.
        .`      \ | /       `.
       /   /     ^|^      \   \
      /   / |     |o     | \   \
     /===/  |     |      |  \===\
    /___/   |     |o     |   \___\
            |     |      |
            |     |o     |
            |     |      |
            |     |o     |
            |     |      |
            |     |o     |
            |_____/\_____|
"
  )
}

Doug Tangren (softprops) 2017