mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-14 19:14:26 +01:00
- image-rs & AA: e5e6e69ae0ea01393a125cde8e2772ad98aba39c - td-shim: 3f18d9f3f51c9428c034cf01b45ab94bcd0d1622 Fixes: #7580 Signed-off-by: Suraj Deshmukh <suraj.deshmukh@microsoft.com>
107 lines
2.7 KiB
TOML
107 lines
2.7 KiB
TOML
[package]
|
|
name = "kata-agent"
|
|
version = "0.1.0"
|
|
authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
|
|
edition = "2018"
|
|
license = "Apache-2.0"
|
|
|
|
[dependencies]
|
|
oci = { path = "../libs/oci" }
|
|
rustjail = { path = "rustjail" }
|
|
protocols = { path = "../libs/protocols", features = ["async"] }
|
|
lazy_static = "1.3.0"
|
|
ttrpc = { version = "0.7.1", features = ["async"], default-features = false }
|
|
protobuf = "3.2.0"
|
|
libc = "0.2.58"
|
|
nix = "0.24.2"
|
|
capctl = "0.2.0"
|
|
serde_json = "1.0.39"
|
|
scan_fmt = "0.2.3"
|
|
scopeguard = "1.0.0"
|
|
thiserror = "1.0.26"
|
|
regex = "1.5.6"
|
|
serial_test = "0.5.1"
|
|
kata-sys-util = { path = "../libs/kata-sys-util" }
|
|
kata-types = { path = "../libs/kata-types" }
|
|
const_format = "0.2.30"
|
|
url = "2.2.2"
|
|
derivative = "2.2.0"
|
|
|
|
# Async helpers
|
|
async-trait = "0.1.42"
|
|
async-recursion = "0.3.2"
|
|
futures = "0.3.28"
|
|
|
|
# Async runtime
|
|
tokio = { version = "1.28.1", features = ["full"] }
|
|
tokio-vsock = "0.3.1"
|
|
|
|
netlink-sys = { version = "0.7.0", features = ["tokio_socket"] }
|
|
rtnetlink = "0.8.0"
|
|
netlink-packet-utils = "0.4.1"
|
|
ipnetwork = "0.17.0"
|
|
|
|
# Note: this crate sets the slog 'max_*' features which allows the log level
|
|
# to be modified at runtime.
|
|
logging = { path = "../libs/logging" }
|
|
slog = "2.5.2"
|
|
slog-scope = "4.1.2"
|
|
slog-term = "2.9.0"
|
|
|
|
# Redirect ttrpc log calls
|
|
slog-stdlog = "4.0.0"
|
|
log = "0.4.11"
|
|
|
|
cfg-if = "1.0.0"
|
|
prometheus = { version = "0.13.0", features = ["process"] }
|
|
procfs = "0.12.0"
|
|
anyhow = "1.0.32"
|
|
cgroups = { package = "cgroups-rs", version = "0.3.2" }
|
|
|
|
# Tracing
|
|
tracing = "0.1.26"
|
|
tracing-subscriber = "0.2.18"
|
|
tracing-opentelemetry = "0.13.0"
|
|
opentelemetry = { version = "0.14.0", features = ["rt-tokio-current-thread"] }
|
|
vsock-exporter = { path = "vsock-exporter" }
|
|
|
|
# Configuration
|
|
serde = { version = "1.0.129", features = ["derive"] }
|
|
toml = "0.5.8"
|
|
clap = { version = "3.0.1", features = ["derive"] }
|
|
|
|
# "vendored" feature for openssl is required by musl build
|
|
openssl = { version = "0.10.38", features = ["vendored"] }
|
|
|
|
# Image pull/decrypt
|
|
image-rs = { git = "https://github.com/confidential-containers/guest-components", rev = "615a46ff16ee8670014946d14e44e85cede82f01", default-features = false, features = [
|
|
"kata-cc-native-tls",
|
|
"verity",
|
|
"signature-simple-xrss",
|
|
] }
|
|
|
|
[patch.crates-io]
|
|
oci-distribution = { git = "https://github.com/krustlet/oci-distribution.git", rev = "f44124c" }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.1.0"
|
|
test-utils = { path = "../libs/test-utils" }
|
|
which = "4.3.0"
|
|
|
|
[workspace]
|
|
resolver = "2"
|
|
members = ["rustjail"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
|
|
[features]
|
|
confidential-data-hub = []
|
|
seccomp = ["rustjail/seccomp"]
|
|
sealed-secret = ["protocols/sealed-secret", "confidential-data-hub"]
|
|
standard-oci-runtime = ["rustjail/standard-oci-runtime"]
|
|
|
|
[[bin]]
|
|
name = "kata-agent"
|
|
path = "src/main.rs"
|