27 releases (11 stable)

new 1.0.10 Nov 1, 2024
1.0.8 Jul 25, 2024
1.0.6 Feb 5, 2024
1.0.4 Sep 28, 2023
0.2.1 May 19, 2022

#8 in Command-line interface

Download history 1754623/week @ 2024-07-18 1919909/week @ 2024-07-25 1929061/week @ 2024-08-01 1982967/week @ 2024-08-08 2013985/week @ 2024-08-15 2066129/week @ 2024-08-22 1928336/week @ 2024-08-29 2076760/week @ 2024-09-05 1965367/week @ 2024-09-12 2105761/week @ 2024-09-19 2209944/week @ 2024-09-26 2776947/week @ 2024-10-03 2664396/week @ 2024-10-10 2670292/week @ 2024-10-17 2323123/week @ 2024-10-24 2399785/week @ 2024-10-31

10,571,509 downloads per month
Used in 16,059 crates (143 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