27 releases (11 stable)

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

#7 in Command-line interface

Download history 2066281/week @ 2024-08-23 1948199/week @ 2024-08-30 2028253/week @ 2024-09-06 1874778/week @ 2024-09-13 2239334/week @ 2024-09-20 2177900/week @ 2024-09-27 2857280/week @ 2024-10-04 2624222/week @ 2024-10-11 2662289/week @ 2024-10-18 2329818/week @ 2024-10-25 2444272/week @ 2024-11-01 2305212/week @ 2024-11-08 2362971/week @ 2024-11-15 2175792/week @ 2024-11-22 2284914/week @ 2024-11-29 2657843/week @ 2024-12-06

9,934,830 downloads per month
Used in 17,186 crates (154 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