Files
HGhub-MacOS-iOS-Version/src-tauri/Cargo.toml
T
WEP-56 d54ad6ff7a chore(release): v1.1.0 —— 许可证改为 PolyForm Noncommercial 1.0.0
- LICENSE 由 MIT 换成 PolyForm Noncommercial License 1.0.0(仅限非商业
  用途),并附 Required Notice 声明行;v1.0.1 及更早版本仍按 MIT 授权
- README 新增「官方渠道与仿冒提醒」:仅 GitHub Releases 发布,点名加了
  卡密 / VIP 变现的第三方修改版;同时补充使用须知(不给上游增压、尊重
  上游版权、不传播接口与直链等)
- package.json / Cargo.toml 标注 SPDX 标识 PolyForm-Noncommercial-1.0.0
- 版本号 1.0.1 → 1.1.0(package.json / tauri.conf.json / Cargo.toml /
  Cargo.lock)
- 设置页「关于」显示许可证,副标题改为「仅限非商业使用」
2026-11-05 16:34:59 +08:00

45 lines
1.1 KiB
TOML

[package]
name = "huangguo-client"
version = "1.1.0"
description = "HGhub · 黄果短剧客户端"
authors = ["HGhub"]
license = "PolyForm-Noncommercial-1.0.0"
edition = "2021"
rust-version = "1.77"
[lib]
name = "huangguo_client_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# 注意:system-proxy 必须显式列出。关掉 default-features 会连带丢掉它,
# 客户端就完全不看 Windows 系统代理(注册表 ProxyEnable/ProxyServer)而直连,
# 症状正是「浏览器能开官网、HGhub 打不开」。见 src/net.rs 顶部说明。
reqwest = { version = "0.12", default-features = false, features = [
"rustls-tls",
"system-proxy",
"gzip",
"brotli",
"json",
"charset",
] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"] }
aes = "0.8"
base64 = "0.22"
percent-encoding = "2"
once_cell = "1"
url = "2"
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
opt-level = "s"
strip = true