5 stable releases
1.0.4 | Jun 4, 2025 |
---|---|
1.0.3 | Oct 24, 2024 |
1.0.2 | Jul 25, 2024 |
1.0.1 | May 2, 2024 |
1.0.0 | Apr 13, 2023 |
#1095 in Command-line interface
12,507,784 downloads per month
Used in 644 crates
(11 directly)
10KB
92 lines
colorchoice
Global override of color control
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
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.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.