83 lines
1.6 KiB
TOML
83 lines
1.6 KiB
TOML
[package]
|
||
name = "tauri-app"
|
||
version = "0.1.0"
|
||
description = "A Tauri App"
|
||
authors = ["you"]
|
||
edition = "2021"
|
||
|
||
[lib]
|
||
name = "tauri_app_lib"
|
||
crate-type = ["staticlib", "cdylib", "rlib"]
|
||
|
||
[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",
|
||
] }
|
||
|
||
# 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"
|
||
rand = "0.8"
|
||
tempfile = "3"
|
||
uuid = { version = "1", features = ["v4"] }
|
||
|
||
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
||
tauri-plugin-single-instance = "2"
|