From 61f5523a109c5bca5b91ad29cc9d345d2dbf2aef Mon Sep 17 00:00:00 2001 From: Daniel Szoke Date: Wed, 17 Sep 2025 16:11:31 +0200 Subject: [PATCH 1/2] meta(vscode): Add logs to `rust-analyzer` features So that `rust-analyzer` also analyzes any `logs` feature-flag-guarded portions of code when using VSCode/Cursor. --- .vscode/settings.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 23fd35f0e..43a499af8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,6 @@ { - "editor.formatOnSave": true + "editor.formatOnSave": true, + "rust-analyzer.cargo.features": [ + "logs" + ] } \ No newline at end of file From ace84354d92924618fc7cdf669dae21ed3af9222 Mon Sep 17 00:00:00 2001 From: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com> Date: Tue, 30 Sep 2025 15:06:52 +0200 Subject: [PATCH 2/2] Update settings.json Co-authored-by: Lorenzo Cian <17258265+lcian@users.noreply.github.com> --- .vscode/settings.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 43a499af8..bd1e33d73 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,4 @@ { "editor.formatOnSave": true, - "rust-analyzer.cargo.features": [ - "logs" - ] + "rust-analyzer.cargo.features": "all" } \ No newline at end of file