diff --git a/client/Cargo.toml b/client/Cargo.toml index b0be1b61..bedcee9a 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -37,7 +37,7 @@ serde_json = {version = "1.0", default-features = false, features = ["alloc"]} stat_common = {path = "../common"} sysinfo = "0.30.5" tokio = {version = "1", features = ["full"]} -tonic = {version = "0.9", features = ["tls"]} +tonic = {version = "0.10", features = ["tls"]} tower = { version = "0.4" } md5 = "0.7.0" diff --git a/common/Cargo.toml b/common/Cargo.toml index 0defdb52..c6284adb 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -17,7 +17,7 @@ repository = "https://github.com/zdz/ServerStatus-Rust" bytes = {version = "1", features = ["serde"]} prost = "0.11" serde = {version = "1.0", default-features = false, features = ["derive", "alloc"]} -tonic = {version = "0.9", features = ["tls"]} +tonic = {version = "0.10", features = ["tls"]} [target.'cfg(not(target_env = "msvc"))'.build-dependencies] chrono = "0.4" diff --git a/server/Cargo.toml b/server/Cargo.toml index f9281b12..0aefa19f 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -43,7 +43,7 @@ serde_json = {version = "1.0", default-features = false, features = ["alloc"]} stat_common = {path = "../common"} tokio = {version = "1", features = ["full"]} toml = "0.7" -tonic = {version = "0.9", features = ["gzip", "tls"]} +tonic = {version = "0.10", features = ["gzip", "tls"]} tower-http = { version = "0.5.1", features = ["cors"] } url = "2.5.0" uuid = {version = "1.7", default-features = false, features = ["serde", "v4"]}