about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/docs
diff options
context:
space:
mode:
authorPrajwal S N <prajwalnadig21@gmail.com>2025-04-04 18:34:10 +0530
committerPrajwal S N <prajwalnadig21@gmail.com>2025-04-04 18:57:10 +0530
commit4bf481c9342f448f4e950631a48c98331044f65d (patch)
tree594edbd1c6778e71fed9d7d9ffee6d930fc18ccf /src/tools/rust-analyzer/docs
parent9c5cdfe30addd2aa583dd1357645daf8bc6cbd60 (diff)
feat(project-model): provide flag for no deps
A Cargo project can now be built without any dependency metadata being fetched.

Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
Diffstat (limited to 'src/tools/rust-analyzer/docs')
-rw-r--r--src/tools/rust-analyzer/docs/book/src/configuration_generated.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/docs/book/src/configuration_generated.md b/src/tools/rust-analyzer/docs/book/src/configuration_generated.md
index 0a612d20b9c..860d8240fd3 100644
--- a/src/tools/rust-analyzer/docs/book/src/configuration_generated.md
+++ b/src/tools/rust-analyzer/docs/book/src/configuration_generated.md
@@ -130,6 +130,12 @@ Set this to `"all"` to pass `--all-features` to cargo.
  Whether to pass `--no-default-features` to cargo.
 
 
+**rust-analyzer.cargo.noDeps** (default: false)
+
+ Whether to skip fetching dependencies. If set to "true", the analysis is performed
+entirely offline, and Cargo metadata for dependencies is not fetched.
+
+
 **rust-analyzer.cargo.sysroot** (default: "discover")
 
  Relative path to the sysroot, or "discover" to try to automatically find it via