{
"name": "Rust",
"build": {
"dockerfile": "Dockerfile"
},
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
"postCreateCommand": "cargo install cross typos-cli",
"mounts": [
"source=/etc/timezone,target=/etc/timezone,type=bind,readonly"
],
"customizations": {
"vscode": {
"extensions": [
"bmuskalla.vscode-tldr",
"christian-kohler.path-intellisense",
"fill-labs.dependi",
"foxundermoon.shell-format",
"mutantdino.resourcemonitor",
"redhat.vscode-yaml",
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml",
"vadimcn.vscode-lldb"
],
"settings": {
"lldb.executable": "/usr/bin/lldb",
"files.watcherExclude": {
"**/target/**": true
},
"rust-analyzer.checkOnSave.command": "clippy"
}
}
},
"remoteUser": "vscode",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest",
"moby": true,
"dockerDashComposeVersion": "v2"
},
"ghcr.io/devcontainers/features/git:1": {
"version": "os-provided"
}
}
}