Files
yaoayanui/src-tauri/Cargo.toml
949036910@qq.com 18bc7075da 11
2026-06-03 22:12:23 +08:00

104 lines
2.0 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[package]
name = "tauri-app"
version = "0.1.14"
description = "A Tauri App"
authors = ["you"]
edition = "2021"
default-run = "tauri-app"
[lib]
name = "tauri_app_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[[bin]]
name = "updater"
path = "src/bin/updater/main.rs"
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = ["protocol-asset", "image-png"] }
tauri-plugin-opener = "2"
tauri-plugin-dialog = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Async runtime
tokio = { version = "1", features = ["full"] }
futures-util = "0.3"
async-trait = "0.1"
# API AES-256-GCM与 pythonbackend 一致)
aes-gcm = "0.10"
hex = "0.4"
# HTTP client
reqwest = { version = "0.12", default-features = false, features = [
"json",
"rustls-tls",
"stream",
"gzip",
"brotli",
] }
# Embedded JS engine
rquickjs = { version = "0.9", features = [
"macro",
"futures",
"loader",
"array-buffer",
"chrono",
"parallel",
] }
# Text / parsing
regex = "1.10"
once_cell = "1.19"
# Crypto for Aliyun OSS HMAC-SHA1 signing
hmac = "0.12"
sha1 = "0.10"
base64 = "0.22"
urlencoding = "2.1"
# Time
chrono = { version = "0.4", default-features = false, features = [
"clock",
"std",
"serde",
] }
# Logging + errors
log = "0.4"
env_logger = "0.11"
thiserror = "2"
# Local SQLite config
rusqlite = { version = "0.32", features = ["bundled"] }
# Misc
mime_guess = "2"
dirs = "5"
dunce = "1"
rand = "0.8"
tempfile = "3"
uuid = { version = "1", features = ["v4"] }
# 设备序列号CPUID + MAC → MD5
md5 = "0.7"
mac_address = "1.1"
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-single-instance = "2"
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
] }
eframe = { version = "0.31", default-features = false, features = ["default_fonts", "glow"] }
egui = "0.31"
flate2 = "1"
tar = "0.4"