diff --git a/src/agent/Cargo.toml b/src/agent/Cargo.toml index 3b99cf9946..57664b8629 100644 --- a/src/agent/Cargo.toml +++ b/src/agent/Cargo.toml @@ -12,7 +12,7 @@ protocols = { path = "protocols" } netlink = { path = "netlink" } lazy_static = "1.3.0" error-chain = "0.12.1" -ttrpc = { git = "https://github.com/containerd/ttrpc-rust.git" } +ttrpc = { git = "https://github.com/containerd/ttrpc-rust.git", branch="0.3.0" } protobuf = "=2.14.0" libc = "0.2.58" nix = "0.17.0" diff --git a/src/agent/protocols/Cargo.toml b/src/agent/protocols/Cargo.toml index ec02ec61c1..6a13919691 100644 --- a/src/agent/protocols/Cargo.toml +++ b/src/agent/protocols/Cargo.toml @@ -5,6 +5,6 @@ authors = ["Hui Zhu "] edition = "2018" [dependencies] -ttrpc = { git = "https://github.com/containerd/ttrpc-rust.git" } +ttrpc = { git = "https://github.com/containerd/ttrpc-rust.git", branch="0.3.0" } protobuf = "=2.14.0" futures = "0.1.27"