update crates, test on mac only

This commit is contained in:
rustdesk
2023-05-11 12:04:38 +08:00
parent ad04c78f7c
commit 302f1c48d3
11 changed files with 982 additions and 726 deletions

View File

@@ -10,7 +10,7 @@ build= "build.rs"
cc = "1.0"
[dependencies]
thiserror = "1.0.30"
thiserror = "1.0"
lazy_static = "1.4"
serde = "1.0"
serde_derive = "1.0"

View File

@@ -35,7 +35,7 @@ winapi = { version = "0.3", features = ["winuser", "winbase"] }
[target.'cfg(target_os = "macos")'.dependencies]
core-graphics = "0.22"
objc = "0.2"
unicode-segmentation = "1.6"
unicode-segmentation = "1.10"
[build-dependencies]
pkg-config = "0.3"

View File

@@ -8,11 +8,11 @@ edition = "2018"
[dependencies]
flexi_logger = { version = "0.25", features = ["async"] }
protobuf = { version = "3.1", features = ["with-bytes"] }
tokio = { version = "1.20", features = ["full"] }
protobuf = { version = "3.2", features = ["with-bytes"] }
tokio = { version = "1.28", 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.10"
socket2 = { version = "0.3", features = ["reuseport"] }
@@ -29,7 +29,7 @@ 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"
@@ -38,21 +38,21 @@ dlopen = "0.1"
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
mac_address = "1.1"
machine-uid = "0.2"
sysinfo = "0.28"
machine-uid = "0.3"
sysinfo = "0.29"
[features]
quic = []
flatpak = []
[build-dependencies]
protobuf-codegen = { version = "3.1" }
protobuf-codegen = { version = "3.2" }
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3", features = ["winuser"] }
[target.'cfg(target_os = "macos")'.dependencies]
osascript = "0.3.0"
osascript = "0.3"
[dev-dependencies]
toml = "0.7"

View File

@@ -8,9 +8,9 @@ edition = "2021"
build = "build.rs"
[build-dependencies]
embed-resource = "1.7"
embed-resource = "2.1"
[dependencies]
brotli = "3.3.4"
dirs = "4.0.0"
md5 = "0.7.0"
brotli = "3.3"
dirs = "5.0"
md5 = "0.7"

View File

@@ -1,5 +1,5 @@
extern crate embed_resource;
fn main() {
embed_resource::compile("icon.rc");
embed_resource::compile("icon.rc", embed_resource::NONE);
}

View File

@@ -16,7 +16,7 @@ mediacodec = ["ndk"]
[dependencies]
block = "0.1"
cfg-if = "1.0"
num_cpus = "1.13"
num_cpus = "1.15"
lazy_static = "1.4"
hbb_common = { path = "../hbb_common" }
webm = "1.0"
@@ -27,8 +27,8 @@ default-features = true
features = ["dxgi", "dxgi1_2", "dxgi1_5", "d3d11", "winuser", "winerror", "errhandlingapi", "libloaderapi"]
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.10"
jni = "0.19"
android_logger = "0.13"
jni = "0.21"
lazy_static = "1.4"
log = "0.4"
serde_json = "1.0"
@@ -42,7 +42,7 @@ quest = "0.3"
[build-dependencies]
target_build_utils = "0.3"
bindgen = "0.64"
bindgen = "0.65"
[target.'cfg(target_os = "linux")'.dependencies]
dbus = { version = "0.9", optional = true }