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 1905204/week @ 2024-08-04 1983216/week @ 2024-08-11 2072907/week @ 2024-08-18 2062892/week @ 2024-08-25 1974299/week @ 2024-09-01 2010212/week @ 2024-09-08 1914195/week @ 2024-09-15 2185128/week @ 2024-09-22 2327451/week @ 2024-09-29 2910484/week @ 2024-10-06 2705527/week @ 2024-10-13 2483217/week @ 2024-10-20 2310580/week @ 2024-10-27 2438750/week @ 2024-11-03 2332595/week @ 2024-11-10 2342687/week @ 2024-11-17

9,606,683 downloads per month
Used in 16,490 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