1
This commit is contained in:
@@ -5,12 +5,7 @@ description = "A Tauri App"
|
||||
authors = ["you"]
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[lib]
|
||||
# The `_lib` suffix may seem redundant but it is necessary
|
||||
# to make the lib name unique and wouldn't conflict with the bin name.
|
||||
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
|
||||
name = "tauri_app_lib"
|
||||
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||
|
||||
@@ -23,6 +18,57 @@ tauri-plugin-opener = "2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
||||
# Async runtime
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
futures-util = "0.3"
|
||||
async-trait = "0.1"
|
||||
|
||||
# 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"
|
||||
|
||||
# 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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user