mirror of
https://gitee.com/HuLaSpark/HuLa.git
synced 2024-12-02 03:37:53 +08:00
33 lines
1.1 KiB
TOML
33 lines
1.1 KiB
TOML
[package]
|
|
name = "hula-im-tauri"
|
|
version = "0.0.0"
|
|
description = "A Tauri App"
|
|
authors = ["you"]
|
|
license = ""
|
|
repository = ""
|
|
edition = "2021"
|
|
|
|
[profile.release]
|
|
panic = "abort" # 去掉昂贵的恐慌清理逻辑
|
|
codegen-units = 1 # 一个接一个地编译包,这样编译器就可以更好地优化
|
|
lto = true # 启用链接到优化
|
|
opt-level = "s" # 优化二进制文件大小,并且不会太大消耗性能,"z"极致优化大小但是会消耗性能
|
|
strip = true # 删除调试符号
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "1.5", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "1.5", features = [ "macos-private-api", "fs-all", "window-all", "system-tray", "shell-open", "icon-png"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
window-shadows = "0.2.1" # windows 阴影和圆角
|
|
window-vibrancy = "0.4.3" # windows 磨砂背景
|
|
|
|
[features]
|
|
# this feature is used for production builds or when `devPath` points to the filesystem
|
|
# DO NOT REMOVE!!
|
|
custom-protocol = ["tauri/custom-protocol"]
|