[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 = [ "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"] } base64 = "0.21" hmac = "0.12" sha1 = "0.10" dirs = "5.0" tokio = { version = "1", features = ["full"] } # 暂时注释掉有问题的依赖 # playwright = { git = "https://github.com/octaltree/playwright-rust", features = ["chromium"] } chrono = { version = "0.4", features = ["serde"] } chrono-tz = "0.8" anyhow = "1.0" lazy_static = "1.4" # 错误处理增强 thiserror = "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" ]