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 2362971/week @ 2024-11-15 2175792/week @ 2024-11-22 2284877/week @ 2024-11-29 2657891/week @ 2024-12-06 2413147/week @ 2024-12-13 1560698/week @ 2024-12-20 1427529/week @ 2024-12-27 2367404/week @ 2025-01-03 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 2595039/week @ 2025-02-28

11,827,028 downloads per month
Used in 19,190 crates (174 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