Merge pull request #190 from mxpv/ci

Pin ttrpc crate to 0.8.0 (fix CI)
This commit is contained in:
Maksym Pavlenko 2023-09-05 18:36:49 -07:00 committed by GitHub
commit 14e2f4df66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,10 @@
[package]
name = "containerd-shim-protos"
version = "0.5.0"
authors = ["Maksym Pavlenko <pavlenko.maksym@gmail.com>", "The containerd Authors"]
authors = [
"Maksym Pavlenko <pavlenko.maksym@gmail.com>",
"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]