Crates.io | style-term |
lib.rs | style-term |
version | 1.0.0 |
source | src |
created_at | 2022-05-26 12:08:03.620329 |
updated_at | 2022-05-26 12:08:03.620329 |
description | String colorizer for terminals |
homepage | https://github.com/wyatt-herkamp/style-term |
repository | |
max_upload_size | |
id | 594092 |
size | 31,702 |
A simple-to-use ANSI terminal style tool for Rust
Supports No Color on the high level display methods
use style_term::{Color, DefaultColor, EightBitColor, StyleString, TrueColor};
fn main() {
println!("{}", "How are you doing".style().text_color(DefaultColor::Red))
}