2021-03-29 15:59:14 +08:00
|
|
|
[package]
|
|
|
|
name = "hbb_common"
|
|
|
|
version = "0.1.0"
|
2022-05-12 17:35:25 +08:00
|
|
|
authors = ["open-trade <info@opentradesolutions.com>"]
|
2021-03-29 15:59:14 +08:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-11-11 09:47:16 +08:00
|
|
|
flexi_logger = { version = "0.27", features = ["async"] }
|
2024-04-12 11:38:19 +08:00
|
|
|
protobuf = { version = "3.4", features = ["with-bytes"] }
|
2024-06-13 13:05:35 +08:00
|
|
|
tokio = { version = "1.38", features = ["full"] }
|
2022-07-15 01:29:52 +08:00
|
|
|
tokio-util = { version = "0.7", features = ["full"] }
|
2021-03-29 15:59:14 +08:00
|
|
|
futures = "0.3"
|
2024-05-12 14:07:31 +08:00
|
|
|
bytes = { version = "1.6", features = ["serde"] }
|
2021-03-29 15:59:14 +08:00
|
|
|
log = "0.4"
|
2023-03-09 17:22:14 +08:00
|
|
|
env_logger = "0.10"
|
2021-03-29 15:59:14 +08:00
|
|
|
socket2 = { version = "0.3", features = ["reuseport"] }
|
2023-11-23 19:35:42 +08:00
|
|
|
zstd = "0.13"
|
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"
|
2023-08-02 22:25:54 +08:00
|
|
|
serde_json = "1.0"
|
2021-03-29 15:59:14 +08:00
|
|
|
lazy_static = "1.4"
|
2024-05-12 14:07:31 +08:00
|
|
|
confy = { git = "https://github.com/rustdesk-org/confy" }
|
2021-03-29 15:59:14 +08:00
|
|
|
dirs-next = "2.0"
|
|
|
|
filetime = "0.2"
|
|
|
|
sodiumoxide = "0.2"
|
2023-05-11 12:04:38 +08:00
|
|
|
regex = "1.8"
|
2024-05-12 14:07:31 +08:00
|
|
|
tokio-socks = { git = "https://github.com/rustdesk-org/tokio-socks" }
|
2022-09-15 17:31:28 +08:00
|
|
|
chrono = "0.4"
|
2023-02-19 10:19:28 +08:00
|
|
|
backtrace = "0.3"
|
|
|
|
libc = "0.2"
|
2023-04-14 21:31:12 +08:00
|
|
|
dlopen = "0.1"
|
2023-05-09 22:59:38 +08:00
|
|
|
toml = "0.7"
|
2023-06-06 07:39:44 +08:00
|
|
|
uuid = { version = "1.3", features = ["v4"] }
|
2023-11-09 15:46:42 +08:00
|
|
|
# crash, versions >= 0.29.1 are affected by #GuillaumeGomez/sysinfo/1052
|
|
|
|
sysinfo = { git = "https://github.com/rustdesk-org/sysinfo" }
|
2024-04-22 10:37:08 +08:00
|
|
|
thiserror = "1.0"
|
2024-04-25 11:46:21 +08:00
|
|
|
httparse = "1.5"
|
|
|
|
base64 = "0.22"
|
|
|
|
url = "2.2"
|
2021-03-29 15:59:14 +08:00
|
|
|
|
|
|
|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
|
|
|
mac_address = "1.1"
|
2024-07-31 17:25:10 +08:00
|
|
|
machine-uid = { git = "https://github.com/rustdesk-org/machine-uid" }
|
2024-04-25 11:46:21 +08:00
|
|
|
[target.'cfg(not(any(target_os = "macos", target_os = "windows")))'.dependencies]
|
|
|
|
tokio-rustls = { version = "0.26", features = ["logging", "tls12", "ring"], default-features = false }
|
|
|
|
rustls-platform-verifier = "0.3.1"
|
|
|
|
rustls-pki-types = "1.4"
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies]
|
|
|
|
tokio-native-tls ="0.3"
|
2021-03-29 15:59:14 +08:00
|
|
|
|
|
|
|
[build-dependencies]
|
2024-04-12 11:38:19 +08:00
|
|
|
protobuf-codegen = { version = "3.4" }
|
2021-03-29 15:59:14 +08:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
2024-06-30 13:54:40 +08:00
|
|
|
winapi = { version = "0.3", features = ["winuser", "synchapi", "pdh", "memoryapi", "sysinfoapi"] }
|
2021-03-29 15:59:14 +08:00
|
|
|
|
2023-02-19 11:40:59 +08:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2023-05-11 12:04:38 +08:00
|
|
|
osascript = "0.3"
|
2023-02-19 11:40:59 +08:00
|
|
|
|