choku

Crates.iochoku
lib.rschoku
version0.0.1
created_at2025-04-30 10:09:07.896098+00
updated_at2025-04-30 10:09:07.896098+00
descriptionTerminal styling library for rust
homepagehttps://github.com/srpmtt/choku
repositoryhttps://github.com/srpmtt/choku
max_upload_size
id1654737
size6,344
(srpmtt)

documentation

README

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);
}
Commit count: 2

cargo fmt