aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authoroxalica <[email protected]>2019-12-13 10:16:34 +0000
committeroxalica <[email protected]>2019-12-13 10:16:34 +0000
commitaf4eb266457eb784010da28d80535f9fd38d4d1e (patch)
tree8fb6f839a14985fa5dae695ff074495b87b8dd7a /editors/code/package.json
parent5eb5e80de99338daceb82c933e366f95f7e1719c (diff)
Support setting cargo features
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 7bc08ec31..8ed95fda7 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -278,6 +278,21 @@
278 "type": "number", 278 "type": "number",
279 "default": 20, 279 "default": 20,
280 "description": "Maximum length for inlay hints" 280 "description": "Maximum length for inlay hints"
281 },
282 "rust-analyzer.cargoFeatures.noDefaultFeatures": {
283 "type": "boolean",
284 "default": false,
285 "description": "Do not activate the `default` feature"
286 },
287 "rust-analyzer.cargoFeatures.allFeatures": {
288 "type": "boolean",
289 "default": false,
290 "description": "Activate all available features"
291 },
292 "rust-analyzer.cargoFeatures.features": {
293 "type": "array",
294 "default": [],
295 "description": "List of features to activate"
281 } 296 }
282 } 297 }
283 }, 298 },