3 stable releases

1.0.2 Jul 25, 2024
1.0.1 May 2, 2024
1.0.0 Apr 13, 2023

#999 in Command-line interface

Download history 1404649/week @ 2024-06-15 1414930/week @ 2024-06-22 1342424/week @ 2024-06-29 1498137/week @ 2024-07-06 1499370/week @ 2024-07-13 1596813/week @ 2024-07-20 1669074/week @ 2024-07-27 1665226/week @ 2024-08-03 1722581/week @ 2024-08-10 1717085/week @ 2024-08-17 1727027/week @ 2024-08-24 1688689/week @ 2024-08-31 1770350/week @ 2024-09-07 1672649/week @ 2024-09-14 1998273/week @ 2024-09-21 1713721/week @ 2024-09-28

7,461,630 downloads per month
Used in 305 crates (8 directly)

MIT/Apache

10KB
89 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