| 1 | # colorchoice |
| 2 | |
| 3 | > Global override of color control |
| 4 | |
| 5 | [][Documentation] |
| 6 |  |
| 7 | [](https://crates.io/crates/colorchoice) |
| 8 | |
| 9 | ## License |
| 10 | |
| 11 | Licensed under either of |
| 12 | |
| 13 | * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or <http://www.apache.org/licenses/LICENSE-2.0>) |
| 14 | * MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) |
| 15 | |
| 16 | at your option. |
| 17 | |
| 18 | ## [Contribute](../../CONTRIBUTING.md) |
| 19 | |
| 20 | Special note: to be successful, this crate **cannot** break compatibility or |
| 21 | else different crates in the hierarchy will be reading different globals. |
| 22 | While end users can work around this, it isn't ideal. If we need a new API, we can make |
| 23 | the old API an adapter to the new logic. |
| 24 | |
| 25 | Similarly, we should strive to reduce **risk** of breaking compatibility by |
| 26 | exposing as little as possible. Anything more should be broken out into a |
| 27 | separate crate that this crate can call into. |
| 28 | |
| 29 | Unless you explicitly state otherwise, any contribution intentionally |
| 30 | submitted for inclusion in the work by you, as defined in the Apache-2.0 |
| 31 | license, shall be dual-licensed as above, without any additional terms or |
| 32 | conditions. |
| 33 | |
| 34 | [Documentation]: https://docs.rs/colorchoice |