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

#10 in Command-line interface

Download history 1328463/week @ 2024-02-22 1413128/week @ 2024-02-29 1341643/week @ 2024-03-07 1365145/week @ 2024-03-14 1390410/week @ 2024-03-21 1325442/week @ 2024-03-28 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 1371595/week @ 2024-06-06

6,331,601 downloads per month
Used in 12,863 crates (101 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