Skip to content

Commit 346ae8d

Browse files
committed
update tonic and prost related dependencies
1 parent 4e84645 commit 346ae8d

7 files changed

Lines changed: 211 additions & 91 deletions

File tree

Cargo.lock

Lines changed: 140 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ nullnet-libipinfo = "0.2.1"
3434
nullnet-libtoken = "0.3.3"
3535
serde = { version = "1.0.218", features = ["derive"] }
3636
serde_json = "1.0.139"
37-
tonic = { version = "0.13.1", features = ["_tls-any", "tls-native-roots"] }
38-
prost = "0.13.5"
37+
tonic = { version = "0.14.3", features = ["_tls-any", "tls-native-roots"] }
38+
prost = "0.14.3"
39+
tonic-prost = "0.14.3"
3940
tokio = { version = "1.45.0", features = ["rt-multi-thread"] }
4041
chrono = { version = "0.4.41", default-features = false, features = ["clock"] }
4142
ctrlc = { version = "3.4.5", features = ["termination"] }
@@ -50,7 +51,7 @@ async-trait = "0.1.88"
5051
ipnetwork = "0.21.1"
5152

5253
[build-dependencies]
53-
tonic-build = "0.13.1"
54+
tonic-prost-build = "0.14.3"
5455

5556
[dev-dependencies]
5657
#serial_test = "3.2.0"

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const PROTOBUF_DIR_PATH: &str = "./proto";
55

66
fn main() {
77
for out_dir in ["./src/proto", "./libappguard/src/proto"] {
8-
tonic_build::configure()
8+
tonic_prost_build::configure()
99
.out_dir(out_dir)
1010
.type_attribute("appguard.AppGuardIpInfo", "#[derive(serde::Deserialize)]")
1111
.type_attribute(

0 commit comments

Comments
 (0)