diff --git a/.vscode/settings.json b/.vscode/settings.json index e90553506..ceb87ad53 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,7 +3,11 @@ "rust-analyzer.checkOnSave.allFeatures": false, "rust-analyzer.checkOnSave.allTargets": false, "rust-analyzer.cargo.target": "thumbv7em-none-eabi", - "rust-analyzer.checkOnSave.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" + ], "rust-analyzer.procMacro.enable": true, "rust-analyzer.cargo.runBuildScripts": true, "files.watcherExclude": { diff --git a/Cargo.example.toml b/Cargo.example.toml index cbb221e7b..d6bc78bdc 100644 --- a/Cargo.example.toml +++ b/Cargo.example.toml @@ -22,6 +22,7 @@ members = [ "embassy-traits", "embassy-macros", "embassy-extras", + "embassy-net", # Uncomment ONLY ONE of the groups below.