drop/desktop/src-tauri/remote/Cargo.toml
wdunn001 06fa4ae727 desktop: enable gzip+zstd reqwest features so chunk downloads honor ingress compression; bump client to 0.4.1
Cargo.toml previously built reqwest with default-features=false and no
compression feature, so the client never sent Accept-Encoding on chunk
GETs and never decoded a compressed response -- Caddy-side encode would
have been a silent no-op. zstd is listed first to match the measured
best cost/ratio tradeoff (zstd-3 ~0.70 ratio in 0.18s/64MB chunk vs
zstd-19's 10.8s); gzip stays as the fallback for any proxy hop that
only speaks gzip.
2026-08-03 15:22:13 -04:00

36 lines
821 B
TOML

[package]
name = "remote"
version = "0.1.0"
edition = "2024"
[dependencies]
async-trait = "0.1.89"
bitcode = "0.6.7"
bytes = "1.11.0"
chrono = "0.4.42"
client = { path = "../client", version = "0.1.0" }
database = { path = "../database", version = "0.1.0" }
gethostname = "1.0.2"
hex = "0.4.3"
http = "1.3.1"
jsonwebtoken = { version = "10.3.0", features = ["rust_crypto"] }
log = "0.4.28"
md5 = "0.8.0"
reqwest = { version = "0.12.28", default-features = false, features = [
"blocking",
"gzip",
"http2",
"json",
"native-tls-alpn",
"rustls-tls",
"rustls-tls-native-roots",
"stream",
"zstd",
] }
reqwest-middleware = { version = "0.4.2", features = ["json"] }
reqwest-websocket = "0.5.1"
serde = "1.0.228"
serde_with = "3.15.0"
tauri = "*"
url = "2.5.7"
utils = { path = "../utils", version = "0.1.0" }