1 unstable release

0.2.1 Dec 27, 2021

#10 in #colorize

MIT license

10KB
138 lines

This crate provides a runtime version of the colorize! macro from the fancy crate.

It can be used to dynamically create colored strings at runtime.

let msg = colorize("[blue|b]Hello [:u|red]world[:b]!".into());
println!("{}", msg);

lib.rs:

This crate provides a runtime versio of the colorize!() macro found in the fancy crate. For more information see it's documentaion.

No runtime deps