Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f829f816ba |
1 changed files with 29 additions and 0 deletions
29
.devcontainer/devcontainer.json
Normal file
29
.devcontainer/devcontainer.json
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"name": "Rust Workshop",
|
||||
"image": "mcr.microsoft.com/devcontainers/rust:1-bullseye",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/git:1": {}
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"rust-lang.rust-analyzer",
|
||||
"vadimcn.vscode-lldb",
|
||||
"tamasfe.even-better-toml",
|
||||
"humao.rest-client"
|
||||
],
|
||||
"settings": {
|
||||
"editor.formatOnSave": true,
|
||||
"rust-analyzer.check.command": "clippy"
|
||||
}
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "cargo build",
|
||||
"forwardPorts": [7878],
|
||||
"portsAttributes": {
|
||||
"7878": {
|
||||
"label": "HTTP Server",
|
||||
"onAutoForward": "notify"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue