style-term

Crates.iostyle-term
lib.rsstyle-term
version1.0.0
sourcesrc
created_at2022-05-26 12:08:03.620329
updated_at2022-05-26 12:08:03.620329
descriptionString colorizer for terminals
homepagehttps://github.com/wyatt-herkamp/style-term
repository
max_upload_size
id594092
size31,702
Wyatt Herkamp (wyatt-herkamp)

documentation

https://docs.rs/style-term/latest/style-term/

README

style-term

A simple-to-use ANSI terminal style tool for Rust

Features

Supports No Color on the high level display methods

How to use

use style_term::{Color, DefaultColor, EightBitColor, StyleString, TrueColor};

fn main() {
    println!("{}", "How are you doing".style().text_color(DefaultColor::Red))
}
Commit count: 0

cargo fmt