Cargo Features
[dependencies]
cargo-semver-checks = { version = "0.36.0", default-features = false, features = ["gix-reqwest", "gix-curl"] }
- default = gix-reqwest
-
The
gix-reqwest
feature is set by default whenevercargo-semver-checks
is added without
somewhere in the dependency tree.default-features = false - gix-reqwest default
-
Gix has mutually exclusive features that are exposed through tame-index. Hard-coding either of these features can lead to compile errors when another crate enables the other feature through workspace feature unification. We therefore allow downstream users to choose which feature to enable:
Enables gix-reqwest of tame-index ^0.14
- gix-curl
-
Enables gix-curl of tame-index ^0.14
tame-index:
Unfortunately need to support curl as well, though we don't test or care about it, in addition to having 2 HTTP client implementations if sparse is also enabled