Crates.io | ansicolor |
lib.rs | ansicolor |
version | 1.0.0 |
source | src |
created_at | 2024-07-05 07:56:09.166932 |
updated_at | 2024-07-05 07:56:09.166932 |
description | Ansi terminal color definition library |
homepage | |
repository | |
max_upload_size | |
id | 1292473 |
size | 24,118 |
简单的基于终端的ansi颜色库
https://github.com/kivensoft/ansicolor_rs
cargo add --git https://github.com/kivensoft/ansicolor_rs ansicolor
use ansicolor;
fn main() {
println!("这个是{}", ansicolor::ac_red!("红色"));
}