mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-02 14:04:22 +01:00
The recent switch to an async rust agent broke the `agent-ctl` tool. However, we didn't notice because that isn't being built by the CI. Fix the breakage by passing a ttRPC context to all ttRPC API calls and also build the tool as part of the static checks CI. Fixes: #1471. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
40 lines
860 B
TOML
40 lines
860 B
TOML
# Copyright (c) 2020 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
[package]
|
|
name = "kata-agent-ctl"
|
|
version = "0.0.1"
|
|
authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
protocols = { path = "../../src/agent/protocols" }
|
|
rustjail = { path = "../../src/agent/rustjail" }
|
|
oci = { path = "../../src/agent/oci" }
|
|
|
|
clap = "2.33.0"
|
|
lazy_static = "1.4.0"
|
|
anyhow = "1.0.31"
|
|
hex = "0.4.2"
|
|
byteorder = "1.3.4"
|
|
|
|
logging = { path = "../../pkg/logging" }
|
|
slog = "2.5.2"
|
|
slog-scope = "4.3.0"
|
|
rand = "0.7.3"
|
|
protobuf = "2.14.0"
|
|
|
|
nix = "0.17.0"
|
|
libc = "0.2.69"
|
|
# XXX: Must be the same as the version used by the agent
|
|
ttrpc = { version = "0.5.0" }
|
|
|
|
# For parsing timeouts
|
|
humantime = "2.0.0"
|
|
|
|
# For Options (state passing)
|
|
serde = { version = "1.0.110", features = ["derive"] }
|
|
serde_json = "1.0.53"
|