mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-18 13:04:36 +01:00
While evaluating the possibility of having kata-agent statically linked to the GNU libc, we've ended up facing some issues with prctl. When debugging the issues, we figured out that the crate hasn't been maintained since 2015 and that the capctl one is a good 1:1 replacement for what we need. Fixes: #1844 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
60 lines
1.5 KiB
TOML
60 lines
1.5 KiB
TOML
[package]
|
|
name = "kata-agent"
|
|
version = "0.1.0"
|
|
authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
oci = { path = "oci" }
|
|
logging = { path = "../../pkg/logging" }
|
|
rustjail = { path = "rustjail" }
|
|
protocols = { path = "protocols" }
|
|
lazy_static = "1.3.0"
|
|
ttrpc = { version = "0.5.0", features = ["async", "protobuf-codec"], default-features = false }
|
|
protobuf = "=2.14.0"
|
|
libc = "0.2.58"
|
|
nix = "0.17.0"
|
|
capctl = "0.2.0"
|
|
serde_json = "1.0.39"
|
|
scan_fmt = "0.2.3"
|
|
scopeguard = "1.0.0"
|
|
regex = "1"
|
|
|
|
async-trait = "0.1.42"
|
|
tokio = { version = "1.2.0", features = ["rt", "rt-multi-thread", "sync", "macros", "io-util", "time", "signal", "io-std", "process", "fs"] }
|
|
futures = "0.3.12"
|
|
netlink-sys = { version = "0.6.0", features = ["tokio_socket",]}
|
|
tokio-vsock = "0.3.0"
|
|
rtnetlink = "0.7.0"
|
|
netlink-packet-utils = "0.4.0"
|
|
ipnetwork = "0.17.0"
|
|
|
|
# slog:
|
|
# - Dynamic keys required to allow HashMap keys to be slog::Serialized.
|
|
# - The 'max_*' features allow changing the log level at runtime
|
|
# (by stopping the compiler from removing log calls).
|
|
slog = { version = "2.5.2", features = ["dynamic-keys", "max_level_trace", "release_max_level_info"] }
|
|
slog-scope = "4.1.2"
|
|
|
|
# Redirect ttrpc log calls
|
|
slog-stdlog = "4.0.0"
|
|
log = "0.4.11"
|
|
|
|
prometheus = { version = "0.9.0", features = ["process"] }
|
|
procfs = "0.7.9"
|
|
anyhow = "1.0.32"
|
|
cgroups = { package = "cgroups-rs", version = "0.2.5" }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.1.0"
|
|
|
|
[workspace]
|
|
members = [
|
|
"oci",
|
|
"protocols",
|
|
"rustjail",
|
|
]
|
|
|
|
[profile.release]
|
|
lto = true
|