Add Cargo.toml and .vscode/launch.json files

This commit is contained in:
MaxJa4
2023-12-06 22:52:46 +01:00
parent 8069595c2e
commit 64a7833fd9
3 changed files with 567 additions and 0 deletions

193
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,193 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'part01'",
"cargo": {
"args": [
"build",
"--bin=part01",
"--package=advent-of-code-2023"
],
"filter": {
"name": "part01",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'part01'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=part01",
"--package=advent-of-code-2023"
],
"filter": {
"name": "part01",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'part02'",
"cargo": {
"args": [
"build",
"--bin=part02",
"--package=advent-of-code-2023"
],
"filter": {
"name": "part02",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'part02'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=part02",
"--package=advent-of-code-2023"
],
"filter": {
"name": "part02",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'part03'",
"cargo": {
"args": [
"build",
"--bin=part03",
"--package=advent-of-code-2023"
],
"filter": {
"name": "part03",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'part03'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=part03",
"--package=advent-of-code-2023"
],
"filter": {
"name": "part03",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'part04'",
"cargo": {
"args": [
"build",
"--bin=part04",
"--package=advent-of-code-2023"
],
"filter": {
"name": "part04",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'part04'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=part04",
"--package=advent-of-code-2023"
],
"filter": {
"name": "part04",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'part05'",
"cargo": {
"args": [
"build",
"--bin=part05",
"--package=advent-of-code-2023"
],
"filter": {
"name": "part05",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'part06'",
"cargo": {
"args": [
"build",
"--bin=part06",
"--package=advent-of-code-2023"
],
"filter": {
"name": "part06",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}