This commit is contained in:
Elijah McMorris 2023-12-12 10:45:10 +00:00
commit 47e4dd6b8d
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
15 changed files with 649 additions and 0 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 'wikidata-to-surrealdb'",
"cargo": {
"args": [
"build",
"--bin=wikidata-to-surrealdb",
"--package=wikidata-to-surrealdb"
],
"filter": {
"name": "wikidata-to-surrealdb",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'wikidata-to-surrealdb'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=wikidata-to-surrealdb",
"--package=wikidata-to-surrealdb"
],
"filter": {
"name": "wikidata-to-surrealdb",
"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"
],
}