colorchoice

Crates.iocolorchoice
lib.rscolorchoice
version1.0.4
created_at2023-04-13 14:41:28.859123+00
updated_at2025-06-04 18:38:32.709479+00
descriptionGlobal override of color control
homepage
repositoryhttps://github.com/rust-cli/anstyle.git
max_upload_size
id838341
size22,131
Ed Page (epage)

documentation

README

colorchoice

Global override of color control

Documentation License Crates Status

License

Licensed under either of

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.

Commit count: 1070

cargo fmt