24 releases (8 stable)

1.0.7 May 2, 2024
1.0.6 Feb 5, 2024
1.0.5 Jan 29, 2024
1.0.4 Sep 28, 2023
0.2.1 May 19, 2022

#11 in Command-line interface

Download history 1220774/week @ 2024-01-24 1422613/week @ 2024-01-31 1366312/week @ 2024-02-07 1313603/week @ 2024-02-14 1323227/week @ 2024-02-21 1392554/week @ 2024-02-28 1360679/week @ 2024-03-06 1356360/week @ 2024-03-13 1398220/week @ 2024-03-20 1304029/week @ 2024-03-27 1407730/week @ 2024-04-03 1391340/week @ 2024-04-10 1402921/week @ 2024-04-17 1401807/week @ 2024-04-24 1476649/week @ 2024-05-01 1192115/week @ 2024-05-08

5,736,864 downloads per month
Used in 12,263 crates (94 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