Non-additive transport features are annoying to deal with #2785
Sebastian Thiel (Byron)
started this conversation in
Feature Proposal
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Current behavior 😯
Cargo features are intended to be additive and non-additive features are making it substantially harder to deal with the gix crates. It would be very nice if the curl and reqwest backends could be rewired so that the caller must pick a backend and the crates can still be compiled if both are enabled.
(Noticed this again while working on rustsec/rustsec#1408.)
Expected behavior 🤔
Compile with
--all-featureswithout this:Originally proposed by Dirkjan Ochtman (@djc) in issue #2152.
All reactions