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

#10 in Command-line interface

Download history 2172295/week @ 2024-09-24 2534065/week @ 2024-10-01 2863785/week @ 2024-10-08 2703857/week @ 2024-10-15 2300678/week @ 2024-10-22 2366368/week @ 2024-10-29 2341198/week @ 2024-11-05 2359179/week @ 2024-11-12 2350332/week @ 2024-11-19 2097722/week @ 2024-11-26 2412289/week @ 2024-12-03 2666082/week @ 2024-12-10 2258288/week @ 2024-12-17 1343776/week @ 2024-12-24 1646278/week @ 2024-12-31 2170408/week @ 2025-01-07

7,834,945 downloads per month
Used in 17,867 crates (158 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