diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-07-15 05:43:06 +0200 |
|---|---|---|
| committer | Bob McWhirter <[email protected]> | 2021-07-16 14:41:20 -0400 |
| commit | 2ee20f5dcb27ef6e340569922a861ce3d9596d74 (patch) | |
| tree | d9dbfb10a59f6e981ae0976f39c1fb1fafbcfe45 | |
| parent | 3d1391ef2d634ca6a90c68be7cc69af02e3dc33b (diff) | |
Update vscode settings.
| -rw-r--r-- | .vscode/settings.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json index ceb87ad53..a5a656637 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json | |||
| @@ -1,12 +1,17 @@ | |||
| 1 | { | 1 | { |
| 2 | "editor.formatOnSave": true, | 2 | "editor.formatOnSave": true, |
| 3 | "rust-analyzer.assist.importEnforceGranularity": true, | ||
| 4 | "rust-analyzer.assist.importGranularity": "module", | ||
| 3 | "rust-analyzer.checkOnSave.allFeatures": false, | 5 | "rust-analyzer.checkOnSave.allFeatures": false, |
| 4 | "rust-analyzer.checkOnSave.allTargets": false, | 6 | "rust-analyzer.checkOnSave.allTargets": false, |
| 7 | "rust-analyzer.cargo.noDefaultFeatures": true, | ||
| 8 | "rust-analyzer.checkOnSave.noDefaultFeatures": true, | ||
| 5 | "rust-analyzer.cargo.target": "thumbv7em-none-eabi", | 9 | "rust-analyzer.cargo.target": "thumbv7em-none-eabi", |
| 6 | "rust-analyzer.cargo.features": [ | 10 | "rust-analyzer.cargo.features": [ |
| 7 | // These are needed to prevent embassy-net from failing to build | 11 | // These are needed to prevent embassy-net from failing to build |
| 8 | "embassy-net/medium-ethernet", | 12 | "embassy-net/medium-ethernet", |
| 9 | "embassy-net/tcp" | 13 | "embassy-net/tcp", |
| 14 | "embassy-net/pool-16", | ||
| 10 | ], | 15 | ], |
| 11 | "rust-analyzer.procMacro.enable": true, | 16 | "rust-analyzer.procMacro.enable": true, |
| 12 | "rust-analyzer.cargo.runBuildScripts": true, | 17 | "rust-analyzer.cargo.runBuildScripts": true, |
