mirror of
https://github.com/OMGeeky/rust-codespace.git
synced 2025-12-26 17:02:31 +01:00
first commit
This commit is contained in:
21
.devcontainer/.devcontainer.json
Normal file
21
.devcontainer/.devcontainer.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "Rust",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "mcr.microsoft.com/devcontainers/rust:bullseye",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {}
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"rust-lang.rust-analyzer",
|
||||
"GitHub.copilot-chat",
|
||||
"tamasfe.even-better-toml",
|
||||
"GitHub.copilot-labs",
|
||||
"GitHub.copilot",
|
||||
"yzhang.markdown-all-in-one",
|
||||
"alexcvzz.vscode-sqlite"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
32
.vscode/launch.json
vendored
Normal file
32
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"version": "0.2.0"
|
||||
,"configurations": [
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug unit tests in lib",
|
||||
"cargo": {
|
||||
"args":[
|
||||
"test",
|
||||
"--no-run",
|
||||
"--lib"
|
||||
]
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug executable",
|
||||
"cargo": {
|
||||
"args":[
|
||||
"build",
|
||||
"--bin"
|
||||
]
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user