Files
cstb-next/src-tauri/Cargo.toml

67 lines
2.0 KiB
TOML
Raw Normal View History

2024-09-20 02:28:25 +08:00
[package]
2024-09-21 00:25:31 +08:00
name = "CS工具箱"
version = "0.0.1"
2024-09-20 02:28:25 +08:00
description = "A Tauri App"
2024-09-21 00:25:31 +08:00
authors = ["Purp1e"]
2024-09-20 02:28:25 +08:00
license = ""
repository = ""
2024-09-21 00:25:31 +08:00
default-run = "CS工具箱"
2024-09-20 02:28:25 +08:00
edition = "2021"
rust-version = "1.85"
2024-09-20 02:28:25 +08:00
[profile.release]
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true # Enables link to optimizations
opt-level = "s" # Optimize for binary size
strip = true # Remove debug symbols
2024-09-20 02:28:25 +08:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev]
opt-level = 0 # 关闭优化
debug = true # 保留调试信息
2024-09-20 02:28:25 +08:00
[build-dependencies]
tauri-build = { version = "2.1.0", features = [] }
2024-09-20 02:28:25 +08:00
[dependencies]
log = "0.4.26"
base64 = "0.22.1"
walkdir = "2.5.0"
2025-03-13 00:25:09 +08:00
serde_json = "1.0.140"
serde = { version = "1.0.219", features = ["derive"] }
regex = "1.11.1"
tauri = { version = "2.4.0", features = [ "macos-private-api",
2024-09-20 10:14:36 +08:00
"tray-icon"
] }
2025-03-13 00:25:09 +08:00
window-vibrancy = "0.6.0"
tauri-plugin-process = "2.2.0"
tauri-plugin-fs = "2.2.0"
tauri-plugin-dialog = "2.2.0"
tauri-plugin-os = "2.2.1"
tauri-plugin-clipboard-manager = "2.2.2"
tauri-plugin-shell = "2.2.0"
2025-03-19 22:03:32 +08:00
tauri-plugin-http = "2.4.2"
2025-03-13 00:25:09 +08:00
tauri-plugin-notification = "2.2.2"
tauri-plugin-valtio = "2.0.0"
2025-03-13 00:25:09 +08:00
tauri-plugin-store = "2.2.0"
tauri-plugin-system-info = "2.0.9"
2025-03-14 19:10:29 +08:00
tauri-plugin-theme = "2.1.3"
2025-03-19 22:03:32 +08:00
tauri-plugin-single-instance = { version = "2.0.0", features = ["deep-link"] }
tauri-plugin-deep-link = "2.0.0"
anyhow = "1.0.97"
2024-09-20 12:47:00 +08:00
[target.'cfg(windows)'.dependencies] # Windows Only
2025-03-13 00:25:09 +08:00
winreg = "0.55.0"
2024-09-20 02:28:25 +08:00
[features]
# by default Tauri runs in production mode
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
default = [ "custom-protocol" ]
# this feature is used used for production builds where `devPath` points to the filesystem
# DO NOT remove this
custom-protocol = [ "tauri/custom-protocol" ]
2024-09-20 10:14:36 +08:00
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
2025-03-13 00:25:09 +08:00
tauri-plugin-global-shortcut = "2.2.0"
tauri-plugin-single-instance = "2.2.2"