Skip to content

Commit

Permalink
Upgraded dependencies, added some more vscode configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xithrius committed Jun 22, 2024
1 parent 506be02 commit 7e2aa67
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 30 deletions.
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["rust-lang.rust-analyzer"]
}
33 changes: 33 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"version": "0.1.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'rust-binary-project-template'",
"cargo": {
"args": ["build", "--bin=rust-binary-project-template", "--package=rust-binary-project-template"],
"filter": {
"name": "rust-binary-project-template",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'rust-binary-project-template'",
"cargo": {
"args": ["test", "--no-run", "--bin=rust-binary-project-template", "--package=rust-binary-project-template"],
"filter": {
"name": "rust-binary-project-template",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
13 changes: 10 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
}
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
},
"rust-analyzer.check.command": "clippy",
"rust-analyzer.diagnostics.enable": true,
"workbench.colorCustomizations": {
"editor.inlayHints.fontSize": 14,
"editorInlayHint.background": "#00000000",
"editorInlayHint.foreground": "#979696"
}
}
48 changes: 24 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
serde = { version = "1.0.193", features = [ "derive" ] }
toml = "0.8.10"
color-eyre = "0.6.1"
serde = { version = "1.0.203", features = [ "derive" ] }
toml = "0.8.14"
color-eyre = "0.6.3"

[profile.dev.package.backtrace]
opt-level = 3
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# rust-binary-project-template

A template for Rust binary projects.

0 comments on commit 7e2aa67

Please sign in to comment.