25 releases (9 stable)

new 1.0.8 Jul 25, 2024
1.0.6 Feb 5, 2024
1.0.4 Sep 28, 2023
1.0.1 Jun 20, 2023
0.2.1 May 19, 2022

#15 in Command-line interface

Download history 1395580/week @ 2024-04-04 1398316/week @ 2024-04-11 1394580/week @ 2024-04-18 1372202/week @ 2024-04-25 1525322/week @ 2024-05-02 1476250/week @ 2024-05-09 1547351/week @ 2024-05-16 1488655/week @ 2024-05-23 1647967/week @ 2024-05-30 1640582/week @ 2024-06-06 1655381/week @ 2024-06-13 1647867/week @ 2024-06-20 1642678/week @ 2024-06-27 1569610/week @ 2024-07-04 1714990/week @ 2024-07-11 1454906/week @ 2024-07-18

6,679,598 downloads per month
Used in 13,647 crates (113 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