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

#21 in Command-line interface

Download history 1359191/week @ 2024-12-23 1504636/week @ 2024-12-30 2557915/week @ 2025-01-06 2545069/week @ 2025-01-13 2419009/week @ 2025-01-20 2540709/week @ 2025-01-27 2765532/week @ 2025-02-03 2862770/week @ 2025-02-10 2918994/week @ 2025-02-17 3015903/week @ 2025-02-24 3296293/week @ 2025-03-03 3418229/week @ 2025-03-10 3656016/week @ 2025-03-17 3684544/week @ 2025-03-24 3254652/week @ 2025-03-31 3493974/week @ 2025-04-07

14,305,940 downloads per month
Used in 20,219 crates (179 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