fix(tauri): 更新 Cargo.toml 配置格式 #94

This commit is contained in:
LOG1997
2025-12-09 20:24:14 +08:00
parent 9b091efff0
commit b0db71ec6f

View File

@@ -2,7 +2,7 @@
name = "app" name = "app"
version = "0.1.0" version = "0.1.0"
description = "A Tauri App" description = "A Tauri App"
authors = ["you"] authors = [ "you" ]
license = "" license = ""
repository = "" repository = ""
edition = "2021" edition = "2021"
@@ -12,14 +12,18 @@ rust-version = "1.77.2"
[lib] [lib]
name = "app_lib" name = "app_lib"
crate-type = ["staticlib", "cdylib", "rlib"] crate-type = [
"staticlib",
"cdylib",
"rlib"
]
[build-dependencies] [build-dependencies]
tauri-build = { version = "2.5.3", features = [] } tauri-build = { version = "2.5.3", features = [] }
[dependencies] [dependencies]
serde_json = "1.0" serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = [ "derive" ] }
log = "0.4" log = "0.4"
tauri = { version = "2.9.4", features = ["devtools"] } tauri = { version = "2.9.4", features = [] }
tauri-plugin-log = "2" tauri-plugin-log = "2"