aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r--.devcontainer/devcontainer.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 0000000..7bf3d05
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,29 @@
+{
+ "name": "Rust",
+ "build": {
+ "dockerfile": "Dockerfile",
+ "args": {
+ "VARIANT": "bullseye"
+ }
+ },
+
+ "customizations": {
+ "vscode": {
+ "settings": {
+ "files.watcherExclude": {
+ "**/target/**": true
+ },
+ "rust-analyzer.checkOnSave.command": "clippy"
+ },
+
+ "extensions": [
+ "rust-lang.rust-analyzer"
+ ]
+ }
+ },
+
+ "remoteUser": "vscode",
+ "features": {
+ "sshd": "latest"
+ }
+}