rustdesk-server/libs/hbb_common/Cargo.toml

52 lines
1.3 KiB
TOML
Raw Normal View History

2022-05-12 20:07:45 +08:00
[package]
name = "hbb_common"
version = "0.1.0"
authors = ["open-trade <info@opentradesolutions.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2022-07-22 00:28:10 +08:00
protobuf = { version = "3.1", features = ["with-bytes"] }
tokio = { version = "1.20", features = ["full"] }
tokio-util = { version = "0.7", features = ["full"] }
2022-05-12 20:07:45 +08:00
futures = "0.3"
2023-01-06 10:40:26 +08:00
bytes = { version = "1.2", features = ["serde"] }
2022-05-12 20:07:45 +08:00
log = "0.4"
env_logger = "0.9"
socket2 = { version = "0.3", features = ["reuseport"] }
zstd = "0.9"
quinn = {version = "0.8", optional = true }
anyhow = "1.0"
futures-util = "0.3"
directories-next = "2.0"
rand = "0.8"
serde_derive = "1.0"
serde = "1.0"
lazy_static = "1.4"
confy = { git = "https://github.com/open-trade/confy" }
dirs-next = "2.0"
filetime = "0.2"
sodiumoxide = "0.2"
regex = "1.4"
tokio-socks = { git = "https://github.com/open-trade/tokio-socks" }
2023-01-06 10:40:26 +08:00
chrono = "0.4"
2022-05-12 20:07:45 +08:00
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
mac_address = "1.1"
2023-01-06 10:40:26 +08:00
machine-uid = "0.2"
2022-05-12 20:07:45 +08:00
[features]
quic = []
2023-01-06 10:40:26 +08:00
flatpak = []
2022-05-12 20:07:45 +08:00
[build-dependencies]
2023-01-06 10:40:26 +08:00
protobuf-codegen = { version = "3.1" }
2022-05-12 20:07:45 +08:00
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3", features = ["winuser"] }
[dev-dependencies]
toml = "0.5"
serde_json = "1.0"