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

#8 in Command-line interface

Download history 1988864/week @ 2024-08-13 2055407/week @ 2024-08-20 1978695/week @ 2024-08-27 2070943/week @ 2024-09-03 1986072/week @ 2024-09-10 2043015/week @ 2024-09-17 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 2097481/week @ 2024-11-26

9,605,618 downloads per month
Used in 16,946 crates (149 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