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 575027/week @ 2023-12-23 863131/week @ 2023-12-30 1036374/week @ 2024-01-06 1105466/week @ 2024-01-13 1149630/week @ 2024-01-20 1388526/week @ 2024-01-27 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 1153492/week @ 2024-04-06

5,495,544 downloads per month
Used in 11,713 crates (87 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