[package] name = "CS工具箱" version = "0.0.6" description = "A Tauri App" authors = ["Purp1e"] license = "" repository = "" default-run = "CS工具箱" edition = "2021" rust-version = "1.85" [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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [profile.dev] opt-level = 0 # 关闭优化 debug = true # 保留调试信息 [profile.fast-release] inherits = "release" lto = false # 关闭链接时优化,加快构建速度 codegen-units = 16 # 增加并行编译单元,加快构建速度 strip = false # 不剥离调试符号,加快构建速度 opt-level = 2 # 使用适中的优化级别(比 release 的 "s" 更快) [build-dependencies] tauri-build = { version = "2.5.1", features = [] } [dependencies] log = "0.4.28" base64 = "0.22.1" walkdir = "2.5.0" serde_json = "1.0.145" regex = "1.12.2" serde = { version = "1.0.228", features = ["derive"] } reqwest = { version = "0.12.24", features = ["json", "stream", "blocking"] } futures-util = "0.3.30" tauri = { version = "2.9.2", features = [ "macos-private-api", "tray-icon" ] } window-vibrancy = "0.7.1" tauri-plugin-process = "2.3.1" tauri-plugin-fs = "2.4.4" tauri-plugin-dialog = "2.4.2" tauri-plugin-os = "2.3.2" tauri-plugin-clipboard-manager = "2.3.2" tauri-plugin-shell = "2.3.3" tauri-plugin-http = "2.5.4" tauri-plugin-notification = "2.3.3" tauri-plugin-valtio = "3.2.0" tauri-plugin-store = "2.4.1" tauri-plugin-system-info = "2.0.9" tauri-plugin-autostart = "2.5.1" tauri-plugin-single-instance = { version = "2.3.6", features = ["deep-link"] } tauri-plugin-deep-link = "2.4.5" anyhow = "1.0.100" notify = "8.2.0" dirs = "6.0.0" tokio = { version = "1.40", features = ["process"] } gfxinfo = "0.1.2" url = "2.5" md5 = "0.7.0" [target.'cfg(windows)'.dependencies] # Windows Only winreg = "0.55.0" [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" ] [target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies] tauri-plugin-cli = "2.4.1" tauri-plugin-global-shortcut = "2.3.1" tauri-plugin-single-instance = "2.3.6" tauri-plugin-updater = "2"