choku 0.0.1

Terminal styling library for rust
Documentation
  • Coverage
  • 0%
    0 out of 39 items documented0 out of 16 items with examples
  • Size
  • Source code size: 5.87 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.94 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 14s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • 14096/choku
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • srpmtt

CHOKU

Terminal colors and styling for rust.
This library is based on chalk.

USAGE

fn main() {
  // use default colors
  let red_yellow = Choku::new(Color::Default(Red), "Hello, World!")
    .underline()
    .bg(Cyan)
    .bold()
    .color();

  // use custom RGB color
  let custom_rgb = Choku::new(Color::RGB(0, 230, 0), "Custom RGB Color")
    .color();

  println!("{}", red_yellow);
  println!("{}", custom_rgb);
}