24 releases (8 stable)

1.0.7 May 2, 2024
1.0.6 Feb 5, 2024
1.0.5 Jan 29, 2024
1.0.4 Sep 28, 2023
0.2.1 May 19, 2022

#11 in Command-line interface

Download history 1382436/week @ 2024-02-03 1337317/week @ 2024-02-10 1306484/week @ 2024-02-17 1353113/week @ 2024-02-24 1389416/week @ 2024-03-02 1346445/week @ 2024-03-09 1381819/week @ 2024-03-16 1352448/week @ 2024-03-23 1389565/week @ 2024-03-30 1363022/week @ 2024-04-06 1402802/week @ 2024-04-13 1412531/week @ 2024-04-20 1399734/week @ 2024-04-27 1483557/week @ 2024-05-04 1552536/week @ 2024-05-11 1292872/week @ 2024-05-18

5,955,960 downloads per month
Used in 12,510 crates (97 directly)

MIT/Apache

52KB
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