From c3999253a13bcd2e7d8eed3f18f5d48f5fedb330 Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Tue, 5 Sep 2023 10:39:25 -0700 Subject: [PATCH] Fix CI Signed-off-by: Maksym Pavlenko --- crates/shim-protos/Cargo.toml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/crates/shim-protos/Cargo.toml b/crates/shim-protos/Cargo.toml index 4054367..716578c 100644 --- a/crates/shim-protos/Cargo.toml +++ b/crates/shim-protos/Cargo.toml @@ -1,7 +1,10 @@ [package] name = "containerd-shim-protos" version = "0.5.0" -authors = ["Maksym Pavlenko ", "The containerd Authors"] +authors = [ + "Maksym Pavlenko ", + "The containerd Authors", +] description = "TTRPC bindings for containerd shim interfaces" keywords = ["containerd", "shim", "containers", "ttrpc", "client"] categories = ["api-bindings"] @@ -13,7 +16,12 @@ homepage.workspace = true [dependencies] protobuf = "3.1" -ttrpc = "0.8.0" + +# Quickfix to make CI green. +# 0.8.1 introduces a breaking change in the API. +# https://github.com/containerd/ttrpc-rust/pull/197 +# https://github.com/containerd/ttrpc-rust/pull/209 +ttrpc = "=0.8.0" async-trait = { version = "0.1.48", optional = true } [build-dependencies] @@ -22,7 +30,9 @@ ttrpc-codegen = "0.4" [dev-dependencies] ctrlc = { version = "3.0", features = ["termination"] } log = "0.4" -simple_logger = { version = "4.0", default-features = false, features = ["stderr"] } +simple_logger = { version = "4.0", default-features = false, features = [ + "stderr", +] } tokio = { workspace = true, features = ["full"] } [features]