colorchoice

Crates.iocolorchoice
lib.rscolorchoice
version1.0.3
sourcesrc
created_at2023-04-13 14:41:28.859123
updated_at2024-10-24 20:00:36.947622
descriptionGlobal override of color control
homepage
repositoryhttps://github.com/rust-cli/anstyle.git
max_upload_size
id838341
size21,387
Ed Page (epage)

documentation

README

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

Commit count: 996

cargo fmt