colored-rs/colored

[Feature Request] Support Numbers and others

TheCGDF opened this issue · 2 comments

Sometime we need to colorize some numbers, for example:

println!("balance:{}", 100);

It will be better if we can write something like this:

100.red();
100.5.yellow()

That's a good idea, thank you for reporting it. :)

Thanks for the issue on my end too! It looks like #91 has the same goal though, so I'm going to go ahead and close this issue in favor of that one.