Skip to content

Commit 15f51b0

Browse files
Mossakamxpv
authored andcommitted
crates/shim-protos/Cargo: relex version requirement for protobuf
Signed-off-by: jiaxiao zhou <[email protected]>
1 parent 202c756 commit 15f51b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/shim-protos/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ required-features = ["async"]
4949

5050
[dependencies]
5151
async-trait = { workspace = true, optional = true }
52-
protobuf = "=3.5"
52+
# protobuf 3.5 introduces a breaking change: https://github.com/containerd/rust-extensions/issues/295
53+
# pinning to <3.5.0 until we can update the generated code
54+
protobuf = ">= 3.0, <3.5.0"
5355
ttrpc = "0.8.2"
5456

5557
[build-dependencies]

0 commit comments

Comments
 (0)