crates/shim-protos/Cargo: relex version requirement for protobuf

Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
This commit is contained in:
jiaxiao zhou 2024-10-03 19:57:03 +00:00 committed by Maksym Pavlenko
parent 202c756d26
commit 15f51b0899
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ required-features = ["async"]
[dependencies]
async-trait = { workspace = true, optional = true }
protobuf = "=3.5"
# protobuf 3.5 introduces a breaking change: https://github.com/containerd/rust-extensions/issues/295
# pinning to <3.5.0 until we can update the generated code
protobuf = ">= 3.0, <3.5.0"
ttrpc = "0.8.2"
[build-dependencies]