forked from intellij-rust/intellij-rust
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CARGO: Allow choosing which features are passed to "cargo metadata"
We want to accurately track feature flags so lets not tell cargo to always enable all features for us. Always enabling all features can also causes problems as some non standard feature dependency may not be available. Instead let the user configure which features should be enabled. The new default behavior is to only enable default features. This setting is stored per project and reachable via Settings > Languages & Frameworks > Rust > Cargo. We do not yet use this features setting for any other commands like - cargo check - cargo build - cargo test - cargo run - ... Fixes intellij-rust#2635 See also intellij-rust#651 ecce3fa.
- Loading branch information
Showing
5 changed files
with
117 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters