This commit is contained in:
Elijah McMorris 2023-06-30 05:11:31 +00:00
parent 3a34f6c1a3
commit 4306b99634
10 changed files with 105 additions and 41 deletions

43
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,43 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'ark-invest-api-rust-data'",
"cargo": {
"args": [
"build",
"--bin=ark-invest-api-rust-data",
"--package=ark-invest-api-rust-data"
],
"filter": {
"name": "ark-invest-api-rust-data",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'ark-invest-api-rust-data'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=ark-invest-api-rust-data",
"--package=ark-invest-api-rust-data"
],
"filter": {
"name": "ark-invest-api-rust-data",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}

17
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,17 @@
{
"[Rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file"
},
"rust-analyzer.check.command": "clippy",
"rust-analyzer.cargo.buildScripts.overrideCommand": [
"cargo",
"clippy",
"--fix",
"--workspace",
"--message-format=json",
"--all-targets",
"--allow-dirty"
],
}