| Crates.io | choku |
| lib.rs | choku |
| version | 0.0.1 |
| created_at | 2025-04-30 10:09:07.896098+00 |
| updated_at | 2025-04-30 10:09:07.896098+00 |
| description | Terminal styling library for rust |
| homepage | https://github.com/srpmtt/choku |
| repository | https://github.com/srpmtt/choku |
| max_upload_size | |
| id | 1654737 |
| size | 6,344 |
Terminal colors and styling for rust.
This library is based on chalk.
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);
}