2023-12-15 20:25:35 +08:00
|
|
|
[package]
|
2024-03-19 23:41:41 +08:00
|
|
|
name = "hula"
|
2024-04-19 15:59:26 +08:00
|
|
|
version = "1.5.0"
|
2024-03-20 23:56:17 +08:00
|
|
|
description = "hula"
|
2024-03-19 23:41:41 +08:00
|
|
|
authors = ["nongyehong"]
|
2023-12-15 20:25:35 +08:00
|
|
|
license = ""
|
|
|
|
repository = ""
|
|
|
|
edition = "2021"
|
|
|
|
|
2024-01-15 06:14:04 +08:00
|
|
|
[profile.release]
|
|
|
|
panic = "abort" # 去掉昂贵的恐慌清理逻辑
|
|
|
|
codegen-units = 1 # 一个接一个地编译包,这样编译器就可以更好地优化
|
|
|
|
lto = true # 启用链接到优化
|
|
|
|
opt-level = "s" # 优化二进制文件大小,并且不会太大消耗性能,"z"极致优化大小但是会消耗性能
|
|
|
|
strip = true # 删除调试符号
|
|
|
|
|
2023-12-15 20:25:35 +08:00
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[build-dependencies]
|
2024-06-21 18:27:34 +08:00
|
|
|
tauri-build = { version = "1.5.2", features = [] }
|
2023-12-15 20:25:35 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2024-06-21 18:27:34 +08:00
|
|
|
tauri = { version = "1.6.8", features = [ "http-all", "os-all", "process-all", "notification-all", "macos-private-api", "fs-all", "window-all", "system-tray", "shell-open", "icon-png", "icon-ico"] }
|
2023-12-15 20:25:35 +08:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2024-03-19 23:41:41 +08:00
|
|
|
window-shadows = "0.2.2" # windows 阴影和圆角
|
2024-03-20 23:56:17 +08:00
|
|
|
window-vibrancy = "0.4.3" # windows 磨砂背景 tauri-v1.x版本最好使用0.4.3版本
|
2024-03-23 19:52:20 +08:00
|
|
|
tokio = { version = "1.36.0", features = ["macros", "windows-sys", "rt-multi-thread", "time"] }
|
2023-12-15 20:25:35 +08:00
|
|
|
|
|
|
|
[features]
|
|
|
|
# this feature is used for production builds or when `devPath` points to the filesystem
|
|
|
|
# DO NOT REMOVE!!
|
|
|
|
custom-protocol = ["tauri/custom-protocol"]
|