Files
clawpanel/src-tauri/Cargo.toml
晴天 b1902baa13 feat(http): reqwest 客户端启用 brotli / deflate 解码
对接部分 provider 时会返回 Content-Encoding: br / deflate,
缺少对应 feature 时 reqwest 只能按压缩字节原样交给调用方,
导致 text() 解码异常或 body 看似为空。显式开启两项 feature,
让所有标准压缩响应都可被正常还原。
2026-04-20 15:35:43 +08:00

42 lines
1.2 KiB
TOML

[package]
name = "clawpanel"
version = "0.13.3"
edition = "2021"
description = "ClawPanel - OpenClaw 可视化管理面板"
authors = ["qingchencloud"]
repository = "https://github.com/qingchencloud/clawpanel"
homepage = "https://github.com/qingchencloud/clawpanel"
license = "AGPL-3.0"
[lib]
name = "clawpanel_lib"
crate-type = ["lib", "cdylib", "staticlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = ["tray-icon", "image-png"] }
tauri-plugin-shell = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
dirs = "6"
chrono = "0.4"
zip = { version = "2", default-features = false, features = ["deflate"] }
reqwest = { version = "0.12", features = ["json", "rustls-tls", "stream", "gzip", "brotli", "deflate"], default-features = false }
futures-util = "0.3"
ed25519-dalek = { version = "2", features = ["rand_core"] }
sha2 = "0.10"
rand = "0.8"
base64 = "0.22"
urlencoding = "2"
regex = "1"
tokio = { version = "1", features = ["process", "time"] }
[target.'cfg(unix)'.dependencies]
flate2 = "1"
tar = "0.4"
[target.'cfg(any(target_os = "macos", windows, target_os = "linux"))'.dependencies]
tauri-plugin-autostart = "2"