Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index b868622b3a..82c43b76fd 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -819,6 +819,24 @@
{
"title": "cargo",
"properties": {
+ "rust-analyzer.cargo.sysrootQueryMetadata": {
+ "markdownDescription": "How to query metadata for the sysroot crate. Using cargo metadata allows rust-analyzer\nto analyze third-party dependencies of the standard libraries.",
+ "default": "cargo_metadata",
+ "type": "string",
+ "enum": [
+ "none",
+ "cargo_metadata"
+ ],
+ "enumDescriptions": [
+ "Do not query sysroot metadata, always use stitched sysroot.",
+ "Use `cargo metadata` to query sysroot metadata."
+ ]
+ }
+ }
+ },
+ {
+ "title": "cargo",
+ "properties": {
"rust-analyzer.cargo.sysrootSrc": {
"markdownDescription": "Relative path to the sysroot library sources. If left unset, this will default to\n`{cargo.sysroot}/lib/rustlib/src/rust/library`.\n\nThis option does not take effect until rust-analyzer is restarted.",
"default": null,