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

#20 in Command-line interface

Download history 2578055/week @ 2025-01-10 2427156/week @ 2025-01-17 2509938/week @ 2025-01-24 2696955/week @ 2025-01-31 2869751/week @ 2025-02-07 2802968/week @ 2025-02-14 3071408/week @ 2025-02-21 3216875/week @ 2025-02-28 3395724/week @ 2025-03-07 3449542/week @ 2025-03-14 3959831/week @ 2025-03-21 3220877/week @ 2025-03-28 3445176/week @ 2025-04-04 3232034/week @ 2025-04-11 3033311/week @ 2025-04-18 2647251/week @ 2025-04-25

12,935,919 downloads per month
Used in 20,759 crates (183 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