From 2ee20f5dcb27ef6e340569922a861ce3d9596d74 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 15 Jul 2021 05:43:06 +0200 Subject: [PATCH] Update vscode settings. --- .vscode/settings.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index ceb87ad5..a5a65663 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,12 +1,17 @@ { "editor.formatOnSave": true, + "rust-analyzer.assist.importEnforceGranularity": true, + "rust-analyzer.assist.importGranularity": "module", "rust-analyzer.checkOnSave.allFeatures": false, "rust-analyzer.checkOnSave.allTargets": false, + "rust-analyzer.cargo.noDefaultFeatures": true, + "rust-analyzer.checkOnSave.noDefaultFeatures": true, "rust-analyzer.cargo.target": "thumbv7em-none-eabi", "rust-analyzer.cargo.features": [ // These are needed to prevent embassy-net from failing to build "embassy-net/medium-ethernet", - "embassy-net/tcp" + "embassy-net/tcp", + "embassy-net/pool-16", ], "rust-analyzer.procMacro.enable": true, "rust-analyzer.cargo.runBuildScripts": true,