fix: cargo toolchain (#238)

---------

Co-authored-by: Neko Ayaka <neko@ayaka.moe>
This commit is contained in:
RainbowBird
2025-06-28 13:34:35 +08:00
committed by GitHub
co-authored by Neko Ayaka
parent 09d2ca7abf
commit 6c64dca345
3 changed files with 12 additions and 2 deletions
+2 -1
View File
@@ -64,5 +64,6 @@
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.formatOnSave": true
}
},
"rust-analyzer.checkOnSave": true
}
+9
View File
@@ -12,3 +12,12 @@ version = "0.6.1"
[workspace.dependencies.tauri-plugin-mcp]
path = "./crates/tauri-plugin-mcp"
[profile.dev]
incremental = true
opt-level = 0
debug = true
[profile.dev.package."*"]
opt-level = 1
debug = false
+1 -1
View File
@@ -1,7 +1,7 @@
# https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file
[toolchain]
channel = "nightly"
channel = "nightly-2025-05-25"
# https://rust-lang.github.io/rustup/concepts/components.html
components = [
"rustc",