Crates.io | colorchoice |
lib.rs | colorchoice |
version | 1.0.3 |
source | src |
created_at | 2023-04-13 14:41:28.859123 |
updated_at | 2024-10-24 20:00:36.947622 |
description | Global override of color control |
homepage | |
repository | https://github.com/rust-cli/anstyle.git |
max_upload_size | |
id | 838341 |
size | 21,387 |
Global override of color control
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.
Dual-licensed under MIT or Apache 2.0