Skip to content

Commit 5e08cd6

Browse files
committed
bump protobuf crates
Bump usage of the protobuf and protobuf-codegen crates to 3.7.2. These versions include a fix to the advisory RUSTSEC-2024-0437 Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
1 parent 7ca128d commit 5e08cd6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = "A Rust version of ttrpc."
1212
rust-version = "1.70"
1313

1414
[dependencies]
15-
protobuf = { version = "3.1.0" }
15+
protobuf = { version = "3.7.2" }
1616
libc = { version = "0.2.59", features = [ "extra_traits" ] }
1717
nix = "0.26.2"
1818
log = "0.4"
@@ -33,7 +33,7 @@ tokio-vsock = { version = "0.7.0", optional = true }
3333
[build-dependencies]
3434
# lock home to avoid conflict with latest version
3535
home = "=0.5.9"
36-
protobuf-codegen = "3.1.0"
36+
protobuf-codegen = "3.7.2"
3737

3838
[features]
3939
default = ["sync"]

compiler/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ readme = "README.md"
1414
[dependencies]
1515
# lock home to avoid conflict with latest version
1616
home = "=0.5.9"
17-
protobuf = "2.27.1"
18-
protobuf-codegen = "2.27.1"
17+
protobuf = "3.7.2"
18+
protobuf-codegen = "3.7.2"
1919
prost = "0.8"
2020
prost-build = "0.8"
2121
prost-types = "0.8"

example/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ homepage = "https://github.com/alipay/ttrpc-rust"
1111
description = "An example of ttrpc."
1212

1313
[dev-dependencies]
14-
protobuf = "3.1.0"
14+
protobuf = "3.7.2"
1515
bytes = "0.4.11"
1616
libc = "0.2.79"
1717
byteorder = "1.3.2"

ttrpc-codegen/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ readme = "README.md"
1515
[dependencies]
1616
# lock home to avoid conflict with latest version
1717
home = "=0.5.9"
18-
protobuf-support = "3.2.0"
19-
protobuf = { version = "2.27.1" }
20-
protobuf-codegen = "3.5.1"
18+
protobuf-support = "3.7.2"
19+
protobuf = { version = "3.7.2" }
20+
protobuf-codegen = "3.7.2"
2121
ttrpc-compiler = "0.7.0"

0 commit comments

Comments
 (0)