1 stable release

1.0.0 Apr 13, 2023

#36 in #ansi-colors

Download history 633322/week @ 2023-12-19 460864/week @ 2023-12-26 756799/week @ 2024-01-02 792469/week @ 2024-01-09 924084/week @ 2024-01-16 939501/week @ 2024-01-23 1111012/week @ 2024-01-30 1027749/week @ 2024-02-06 986811/week @ 2024-02-13 1007548/week @ 2024-02-20 1069276/week @ 2024-02-27 1055375/week @ 2024-03-05 1063604/week @ 2024-03-12 1084187/week @ 2024-03-19 1020165/week @ 2024-03-26 953839/week @ 2024-04-02

4,304,088 downloads per month
Used in 170 crates (5 directly)

MIT/Apache

7KB
86 lines

colorchoice

Global override of color control

Documentation License Crates Status

Contribute

Special note: to be successful, this crate cannot break compatibility or else different crates in the hierarchy will be reading different globals. While end users can work around this, it isn't ideal. If we need a new API, we can make the old API an adapter to the new logic.

Similarly, we should strive to reduce risk of breaking compatibility by exposing as little as possible. Anything more should be broken out into a separate crate that this crate can call into.

License

Dual-licensed under MIT or Apache 2.0


lib.rs:

Global override of color control

No runtime deps