rustdesk/libs/hbb_common/Cargo.toml

49 lines
1.2 KiB
TOML
Raw Normal View History

2021-03-29 15:59:14 +08:00
[package]
name = "hbb_common"
version = "0.1.0"
authors = ["rustdesk<info@rustdesk.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2021-12-26 15:34:10 +08:00
protobuf = "3.0.0-alpha.2"
tokio = { version = "1.15", features = ["full"] }
2021-06-25 19:42:51 +08:00
tokio-util = { version = "0.6", features = ["full"] }
2021-03-29 15:59:14 +08:00
futures = "0.3"
2021-12-26 15:34:10 +08:00
bytes = "1.1"
2021-03-29 15:59:14 +08:00
log = "0.4"
env_logger = "0.9"
2021-03-29 15:59:14 +08:00
socket2 = { version = "0.3", features = ["reuseport"] }
2021-06-25 19:42:51 +08:00
zstd = "0.9"
2021-12-26 15:34:10 +08:00
quinn = {version = "0.8", optional = true }
2021-03-29 15:59:14 +08:00
anyhow = "1.0"
futures-util = "0.3"
directories-next = "2.0"
2021-06-25 19:42:51 +08:00
rand = "0.8"
2021-03-29 15:59:14 +08:00
serde_derive = "1.0"
serde = "1.0"
lazy_static = "1.4"
2021-07-24 18:25:07 +08:00
confy = { git = "https://github.com/open-trade/confy" }
2021-03-29 15:59:14 +08:00
dirs-next = "2.0"
filetime = "0.2"
sodiumoxide = "0.2"
regex = "1.4"
tokio-socks = { git = "https://github.com/fufesou/tokio-socks" }
2021-03-29 15:59:14 +08:00
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
mac_address = "1.1"
[features]
quic = ["quinn"]
[build-dependencies]
2021-12-26 15:34:10 +08:00
protobuf-codegen-pure = "3.0.0-alpha.2"
2021-03-29 15:59:14 +08:00
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3", features = ["winuser"] }
[dev-dependencies]
toml = "0.5"
serde_json = "1.0"