ansicolor 1.0.0

Ansi terminal color definition library
Documentation
  • Coverage
  • 25%
    7 out of 28 items documented7 out of 9 items with examples
  • Size
  • Source code size: 24.11 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 372.88 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kivensoft

ansicolor -- terminal ansi color libraty

简单的基于终端的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!("红色"));
}