-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrust-analyzer.toml
More file actions
41 lines (34 loc) · 791 Bytes
/
rust-analyzer.toml
File metadata and controls
41 lines (34 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Rust Analyzer workspace configuration
# This reduces load time and memory usage for large workspaces
[cargo]
# Don't check all targets (examples, tests, benches)
allTargets = false
# Build scripts can be expensive
buildScripts.enable = false
# Only load specific features if needed
noDefaultFeatures = false
[checkOnSave]
# Only check the current crate, not dependencies
extraArgs = ["--no-deps"]
allTargets = false
[files]
# Exclude paths from watching and indexing
excludeDirs = [
"target",
"examples",
"devnotes",
"dev",
"devscripts",
"install",
"release",
"profiles",
"derive"
]
[procMacro]
# Disable proc macros to prevent cycle panics
enable = false
[diagnostics]
# Disable expensive diagnostics
disabled = [
"unresolved-proc-macro"
]