[package] name = "your-app-name" version = "0.1.0" description = "Your app description" authors = ["Your Name"] license = "" repository = "" edition = "2021" rust-version = "1.60" # 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] serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } tauri = { version = "1.5", features = [ "dialog-all", "fs-copy-file", "fs-create-dir", "fs-read-dir", "fs-exists", "fs-rename-file", "fs-remove-file", "fs-remove-dir", "shell-open", "fs-read-file", "fs-write-file", "path-all"] } reqwest = { version = "0.11", features = ["json", "socks"] } base64 = "0.21" hmac = "0.12" sha1 = "0.10" md5 = "0.7" dirs = "5.0" tokio = { version = "1", features = ["full"] } # 启用 chromium 浏览器集成 # playwright = "0.0.20" # 暂时禁用以避免网络下载问题 # Playwright disabled for builds that don't bundle Chromium. # To re-enable, uncomment the line above or use the enable-chromium.bat helper. chrono = { version = "0.4", features = ["serde"] } chrono-tz = "0.8" anyhow = "1.0" lazy_static = "1.4" log = "0.4" # 错误处理增强 thiserror = "1.0" aes = "0.8" ctr = "0.9" rsa = { version = "0.9", features = ["std", "sha2", "pem"], default-features = false } rand = "0.8" sha2 = "0.10" openssl = "0.10" winapi = { version = "0.3.9", features = ["debugapi", "processthreadsapi", "winbase"] } cbc = "0.1.2" ring = { version = "0.16.20", features = ["std"] } block-padding = "0.3" block-modes = "0.9.1" # tauri-plugin-single-instance 仅存在 2.x(适配 Tauri 2),当前为 Tauri 1.x 故暂不启用 # tauri-plugin-single-instance = "1.0" # 安全增强 [target.'cfg(target_os = "windows")'.dependencies] winapi = { version = "0.3", features = ["debugapi", "processthreadsapi", "winbase"] } [target.'cfg(target_os = "macos")'.dependencies] libc = "0.2" # 加密相关依赖 rsa = { version = "0.9", features = ["std", "sha2"] } aes = "0.8" ctr = "0.9" block-padding = "0.3" rand = "0.8" openssl = { version = "0.10", features = ["vendored"] } sha2 = "0.10" [features] # this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled. # DO NOT REMOVE!! custom-protocol = [ "tauri/custom-protocol" ]