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

#8 in Command-line interface

Download history 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 2323050/week @ 2024-10-24 2399812/week @ 2024-10-31 2310583/week @ 2024-11-07 1975413/week @ 2024-11-14

9,398,327 downloads per month
Used in 16,420 crates (145 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