diff options
Diffstat (limited to 'src/rust/devcontainer-feature.json')
-rw-r--r-- | src/rust/devcontainer-feature.json | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/src/rust/devcontainer-feature.json b/src/rust/devcontainer-feature.json index ddfe4ca..016e464 100644 --- a/src/rust/devcontainer-feature.json +++ b/src/rust/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "rust", - "version": "1.0.1", + "version": "1.0.2", "name": "Rust", "description": "Installs Rust, common Rust utilities, and their required dependencies", "options": { @@ -27,13 +27,24 @@ "description": "Select a rustup install profile." } }, - "extensions": [ - "vadimcn.vscode-lldb", - "mutantdino.resourcemonitor", - "rust-lang.rust-analyzer", - "tamasfe.even-better-toml", - "serayuzgur.crates" - ], + "customizations": { + "vscode": { + "extensions": [ + "vadimcn.vscode-lldb", + "mutantdino.resourcemonitor", + "rust-lang.rust-analyzer", + "tamasfe.even-better-toml", + "serayuzgur.crates" + ], + "settings": { + "lldb.executable": "/usr/bin/lldb", + "files.watcherExclude": { + "**/target/**": true + }, + "rust-analyzer.checkOnSave.command": "clippy" + } + } + }, "containerEnv": { "CARGO_HOME": "/usr/local/cargo", "RUSTUP_HOME": "/usr/local/rustup", @@ -44,12 +55,5 @@ ], "securityOpt": [ "seccomp=unconfined" - ], - "settings": { - "lldb.executable": "/usr/bin/lldb", - "files.watcherExclude": { - "**/target/**": true - }, - "rust-analyzer.checkOnSave.command": "clippy" - } + ] } |