Update vscode settings.

This commit is contained in:
Dario Nieuwenhuis 2021-07-15 05:43:06 +02:00 committed by Bob McWhirter
parent 3d1391ef2d
commit 2ee20f5dcb

View file

@ -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,