#go #colorize #port

colorstring

Rust 对 colorstring.go 的实现

1 个不稳定版本

使用旧 Rust 2015

0.0.1 2017年2月2日

#12 in #colorize

MIT 许可证

7KB
131 代码行

colorstring.rs docs.rs 构建状态

mitchellh 的 colorstring 的非官方移植,使用 Rust 编写。

示例

extern crate colorstring;
use colorstring::Colorize;

let c = Colorize::new();
println!("{}", c.color("[blue]Hello, [blue]world"));

许可证

本软件遵循 MIT 许可证。详细信息请参阅 LICENSE

依赖项

~3.5MB
~72K SLoC