Files
xianren_studio/apps/desktop/Cargo.toml
T

36 lines
1.0 KiB
TOML

[package]
name = "xianren-desktop"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
[lib]
name = "xianren_desktop_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[features]
# 生产构建启用该特性后,前端资源会内嵌进 exe 并通过自定义协议加载;
# 开发模式(tauri dev)不启用,继续使用 Vite 开发服务器。
custom-protocol = ["tauri/custom-protocol"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-opener = "2"
tracing-subscriber.workspace = true
tracing.workspace = true
tracing-appender.workspace = true
serde.workspace = true
serde_json.workspace = true
tokio.workspace = true
reqwest.workspace = true
futures.workspace = true
uuid.workspace = true
dirs.workspace = true
xianren-core = { path = "../../crates/core" }
xianren-engine = { path = "../../crates/engine" }
xianren-download = { path = "../../crates/download" }
xianren-api = { path = "../../crates/api" }