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

#1007 in Command-line interface

Download history 1611307/week @ 2024-07-22 1670626/week @ 2024-07-29 1670952/week @ 2024-08-05 1720845/week @ 2024-08-12 1722817/week @ 2024-08-19 1727131/week @ 2024-08-26 1697657/week @ 2024-09-02 1782531/week @ 2024-09-09 1792300/week @ 2024-09-16 1894178/week @ 2024-09-23 2216130/week @ 2024-09-30 2730800/week @ 2024-10-07 2522475/week @ 2024-10-14 2061707/week @ 2024-10-21 2051012/week @ 2024-10-28 2086896/week @ 2024-11-04

8,979,244 downloads per month
Used in 378 crates (8 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