Disable rust-analyzer.{cargo,checkOnSave}.allFeatures by default

This commit is contained in:
Laurențiu Nicola 2020-06-02 12:24:33 +03:00
parent 21132a7a74
commit 7a66d99897
3 changed files with 4 additions and 4 deletions

View file

@ -64,7 +64,7 @@ impl Default for CargoConfig {
fn default() -> Self {
CargoConfig {
no_default_features: false,
all_features: true,
all_features: false,
features: Vec::new(),
load_out_dirs_from_check: false,
target: None,

View file

@ -122,7 +122,7 @@ impl Default for Config {
check: Some(FlycheckConfig::CargoCommand {
command: "check".to_string(),
all_targets: true,
all_features: true,
all_features: false,
extra_args: Vec::new(),
}),

View file

@ -238,7 +238,7 @@
},
"rust-analyzer.cargo.allFeatures": {
"type": "boolean",
"default": true,
"default": false,
"description": "Activate all available features"
},
"rust-analyzer.cargo.features": {
@ -319,7 +319,7 @@
},
"rust-analyzer.checkOnSave.allFeatures": {
"type": "boolean",
"default": true,
"default": false,
"markdownDescription": "Check with all features (will be passed as `--all-features`)"
},
"rust-analyzer.inlayHints.enable": {