30 lines
725 B
TOML
30 lines
725 B
TOML
[package]
|
|
name = "qft-desktop"
|
|
version = "0.4.15"
|
|
edition = "2024"
|
|
rust-version = "1.95"
|
|
|
|
[dependencies]
|
|
eframe = "0.35.0"
|
|
rfd = "0.17.2"
|
|
qrcode = { version = "0.14.1", default-features = false }
|
|
base64 = "0.22.1"
|
|
crc32fast = "1.5.0"
|
|
sha2 = "0.10.9"
|
|
rand = "0.9.2"
|
|
anyhow = "1.0.99"
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
|
serde_json = "1.0.143"
|
|
if-addrs = "0.13.4"
|
|
rayon = "1.11.0"
|
|
# 跨平台取本机名:macOS 上 HOSTNAME 环境变量通常不存在,
|
|
# Linux 上默认也不导出,只靠 env 会退化成占位名。
|
|
whoami = "1.6"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows = { version = "0.62.2", features = [
|
|
"Devices_Enumeration",
|
|
"Devices_WiFiDirect",
|
|
"Security_Credentials",
|
|
] }
|