Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
980 changes: 775 additions & 205 deletions Cargo.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion libs/hbb_common/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/target
**/*.rs.bk
Cargo.lock
src/protos/
35 changes: 22 additions & 13 deletions libs/hbb_common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,54 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
protobuf = { version = "3.1", features = ["with-bytes"] }
tokio = { version = "1.20", features = ["full"] }
flexi_logger = { version = "0.27", features = ["async"] }
protobuf = { version = "3.3", features = ["with-bytes"] }
tokio = { version = "1.36", features = ["full"] }
tokio-util = { version = "0.7", features = ["full"] }
futures = "0.3"
bytes = { version = "1.2", features = ["serde"] }
bytes = { version = "1.4", features = ["serde"] }
log = "0.4"
env_logger = "0.9"
env_logger = "0.10"
socket2 = { version = "0.3", features = ["reuseport"] }
zstd = "0.9"
quinn = {version = "0.8", optional = true }
zstd = "0.13"
quinn = {version = "0.9", optional = true }
anyhow = "1.0"
futures-util = "0.3"
directories-next = "2.0"
rand = "0.8"
serde_derive = "1.0"
serde = "1.0"
serde_json = "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"
regex = "1.8"
tokio-socks = { git = "https://github.com/open-trade/tokio-socks" }
chrono = "0.4"
backtrace = "0.3"
libc = "0.2"
dlopen = "0.1"
toml = "0.7"
uuid = { version = "1.3", features = ["v4"] }
# crash, versions >= 0.29.1 are affected by #GuillaumeGomez/sysinfo/1052
sysinfo = { git = "https://github.com/rustdesk-org/sysinfo" }

[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
mac_address = "1.1"
machine-uid = "0.2"
machine-uid = { git = "https://github.com/21pages/machine-uid" }

[features]
quic = []
flatpak = []

[build-dependencies]
protobuf-codegen = { version = "3.1" }
protobuf-codegen = { version = "3.3" }

[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3", features = ["winuser"] }
winapi = { version = "0.3", features = ["winuser", "synchapi", "pdh", "memoryapi"] }

[target.'cfg(target_os = "macos")'.dependencies]
osascript = "0.3"

[dev-dependencies]
toml = "0.5"
serde_json = "1.0"
Loading