Skip to content

Commit 7e2aa67

Browse files
committed
Upgraded dependencies, added some more vscode configs
1 parent 506be02 commit 7e2aa67

File tree

6 files changed

+74
-30
lines changed

6 files changed

+74
-30
lines changed

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["rust-lang.rust-analyzer"]
3+
}

.vscode/launch.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"version": "0.1.0",
3+
"configurations": [
4+
{
5+
"type": "lldb",
6+
"request": "launch",
7+
"name": "Debug executable 'rust-binary-project-template'",
8+
"cargo": {
9+
"args": ["build", "--bin=rust-binary-project-template", "--package=rust-binary-project-template"],
10+
"filter": {
11+
"name": "rust-binary-project-template",
12+
"kind": "bin"
13+
}
14+
},
15+
"args": [],
16+
"cwd": "${workspaceFolder}"
17+
},
18+
{
19+
"type": "lldb",
20+
"request": "launch",
21+
"name": "Debug unit tests in executable 'rust-binary-project-template'",
22+
"cargo": {
23+
"args": ["test", "--no-run", "--bin=rust-binary-project-template", "--package=rust-binary-project-template"],
24+
"filter": {
25+
"name": "rust-binary-project-template",
26+
"kind": "bin"
27+
}
28+
},
29+
"args": [],
30+
"cwd": "${workspaceFolder}"
31+
}
32+
]
33+
}

.vscode/settings.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
{
2-
"[rust]": {
3-
"editor.defaultFormatter": "rust-lang.rust-analyzer"
4-
}
2+
"[rust]": {
3+
"editor.defaultFormatter": "rust-lang.rust-analyzer",
4+
},
5+
"rust-analyzer.check.command": "clippy",
6+
"rust-analyzer.diagnostics.enable": true,
7+
"workbench.colorCustomizations": {
8+
"editor.inlayHints.fontSize": 14,
9+
"editorInlayHint.background": "#00000000",
10+
"editorInlayHint.foreground": "#979696"
11+
}
512
}

Cargo.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
serde = { version = "1.0.193", features = [ "derive" ] }
10-
toml = "0.8.10"
11-
color-eyre = "0.6.1"
9+
serde = { version = "1.0.203", features = [ "derive" ] }
10+
toml = "0.8.14"
11+
color-eyre = "0.6.3"
1212

1313
[profile.dev.package.backtrace]
1414
opt-level = 3

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# rust-binary-project-template
2+
23
A template for Rust binary projects.

0 commit comments

Comments
 (0)