Closed github-actions[bot] closed 2 years ago
Anstyle is just a wrapper around termcolor, which is already in our deps tree via clap. It doesn't have a neat prefix/suffix API like ansi_term and yansi do, but we should be able to abuse its BufferWriter APIs to get the equivalent, so that we only have to touch emlop's Styles::new()
and will have the same performance characteristics.
fwiw - There is also:
ansi_term
0.12.1
The maintainer has adviced this crate is deprecated and will not receive any maintenance.
The crate does not seem to have much dependencies and may or may not be ok to use as-is.
Last release seems to have been three years ago.
Possible Alternative(s)
The below list has not been vetted in any way and may or may not contain alternatives;
See advisory page for additional details.