cargo-semver-checks
cargo-semver-checks copied to clipboard
Support [term] configuration in Cargo config.toml for color and logging
Describe your use case
According to the config linked by obi1kenobi here, the base cargo
tool supports configuring color and logging in the [term]
section of ~~Cargo.toml~~ config.toml. As an extension to cargo, it makes sense to allow these values to configure cargo-semver-checks
as well, if set.
Describe the solution you'd like
cargo-semver-checks
reads the configuration from the [term]
section of config.toml to configure color and logging level if they are set. We would have to set precedence rules between this, env vars like CARGO_TERM_COLOR
and CARGO_TERM_QUIET
, and config flags like --color
and --verbose
, and it would make sense to follow the same rules that cargo
does.
Alternatives, if applicable
No response
Additional Context
I can work on implementing this if it seems like something we want.