| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- [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 = [ "window-close", "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", "gzip"] }
- 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"
- flate2 = "1"
- regex = "1"
- urlencoding = "2"
- # 错误处理增强
- 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 静态库(需要设置环境变量)
- openssl = "0.10"
- winapi = { version = "0.3.9", features = ["debugapi", "processthreadsapi", "winbase", "winuser", "handleapi", "errhandlingapi", "synchapi", "winerror"] }
- cbc = "0.1.2"
- ring = { version = "0.16.20", features = ["std"] }
- block-padding = "0.3"
- block-modes = "0.9.1"
- futures-util = "0.3"
- # 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", "winuser", "handleapi", "errhandlingapi", "synchapi", "winerror"] }
- [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"
- 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" ]
|