colorchoice

Crates.iocolorchoice
lib.rscolorchoice
version1.0.1
sourcesrc
created_at2023-04-13 14:41:28.859123
updated_at2024-05-02 18:33:23.494818
descriptionGlobal override of color control
homepage
repositoryhttps://github.com/rust-cli/anstyle
max_upload_size
id838341
size21,392
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: 907

cargo fmt