2 stable releases

1.0.1 May 2, 2024
1.0.0 Apr 13, 2023

#900 in Command-line interface

Download history 1064473/week @ 2024-01-26 1027116/week @ 2024-02-02 1011150/week @ 2024-02-09 989822/week @ 2024-02-16 1031904/week @ 2024-02-23 1095571/week @ 2024-03-01 1030827/week @ 2024-03-08 1084288/week @ 2024-03-15 1080218/week @ 2024-03-22 1064705/week @ 2024-03-29 1113695/week @ 2024-04-05 1123805/week @ 2024-04-12 1123679/week @ 2024-04-19 1108228/week @ 2024-04-26 1234385/week @ 2024-05-03 1049872/week @ 2024-05-10

4,705,901 downloads per month
Used in 200 crates (5 directly)

MIT/Apache

9KB
91 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