23 releases (7 stable)

1.0.6 Feb 5, 2024
1.0.4 Sep 28, 2023
1.0.1 Jun 20, 2023
0.3.5 Mar 17, 2023
0.2.1 May 19, 2022

#13 in Command-line interface

Download history 1019690/week @ 2024-01-09 1158819/week @ 2024-01-16 1159531/week @ 2024-01-23 1447532/week @ 2024-01-30 1384468/week @ 2024-02-06 1301570/week @ 2024-02-13 1327203/week @ 2024-02-20 1374671/week @ 2024-02-27 1367244/week @ 2024-03-05 1361701/week @ 2024-03-12 1390062/week @ 2024-03-19 1299451/week @ 2024-03-26 1425894/week @ 2024-04-02 1365323/week @ 2024-04-09 1405028/week @ 2024-04-16 1166167/week @ 2024-04-23

5,573,784 downloads per month
Used in 11,933 crates (91 directly)

MIT/Apache

48KB
1K SLoC

anstyle

ANSI text styling

A portmanteau of "ansi style"

Documentation License Crates Status

anstyle provides core types describing ANSI styling escape codes for interoperability between crates. For example, this would allow a crate to provide an API for customizing the colors used without putting the underlying text styling crate in the API.

For integration with your text styling crate, see:

General utilities:

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps