Files
tauri-shell/src-tauri/Cargo.toml
imbytecat c5dc23bf9a feat: 添加启动加载页与Nitro侧车服务自动启动功能
- 添加启动加载页面,包含旋转动画和动态点状提示效果。
- 忽略 binaries 目录下所有文件,但保留 .gitignore 文件本身。
- 添加对二进制文件 binaries/nitro-server 的执行权限允许,启用侧车模式。
- 添加对 shell 插件和相关依赖的支持,包括 os_pipe、shared_child 和 signal-hook 等库,以增强 Tauri 应用的子进程管理与系统交互能力。
- 添加 shell 插件和异步网络支持以增强应用功能
- 添加 Nitro sidecar 服务自动启动功能,包括端口检测、服务器就绪监听及超时处理,并在启动成功后自动创建主窗口。
- 移除窗口配置并添加外部二进制文件路径配置
2026-01-16 20:14:43 +08:00

28 lines
801 B
TOML

[package]
name = "tauri-demo"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "tauri_demo_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-opener = "2"
tauri-plugin-shell = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["net"] }