4 stable releases

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

#1016 in Command-line interface

Download history 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 1994361/week @ 2024-09-28 2644127/week @ 2024-10-05 2441749/week @ 2024-10-12 2427097/week @ 2024-10-19 2007748/week @ 2024-10-26 2154020/week @ 2024-11-02 2012324/week @ 2024-11-09 2042481/week @ 2024-11-16 1813146/week @ 2024-11-23 2074053/week @ 2024-11-30 2094025/week @ 2024-12-07

8,364,819 downloads per month
Used in 416 crates (9 directly)

MIT/Apache

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