Can't use unstable feature in ~/.cargo/config
without enabling it in Cargo.toml
#9926
Labels
A-unstable
Area: nightly unstable support
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Problem
Trying to use an unstable feature in my global config requires enabling that feature in every
Cargo.toml
I interact with.Steps
Possible Solution(s)
Allow the config to enable unstable features too (preferably only applying to features used within it, not features used in
Cargo.toml
).Notes
Output of
cargo version
:cargo 1.55.0-nightly (3ebb5f15a 2021-07-02)
(and tested oncargo 1.57.0-nightly (9a28ac83c 2021-09-18)
which fails in the same way with a slightly different message).The text was updated successfully, but these errors were encountered: