agent: Update policy to use workspace settings

To reduce duplication, we could update
the policy crate to use settings and versions
from the agent, where applicable.

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2025-03-31 17:07:10 +01:00
parent 1bec432ffa
commit 655255b50c

View File

@ -1,20 +1,19 @@
[package]
name = "kata-agent-policy"
version = "0.1.0"
authors = ["The Kata Containers community <kata-dev@lists.katacontainers.io>"]
edition = "2018"
license = "Apache-2.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
# Async runtime
tokio = { version = "1.39.0", features = ["full"] }
tokio-vsock = "0.3.4"
tokio.workspace = true
anyhow = "1"
anyhow.workspace = true
# Configuration
serde = { version = "1.0.129", features = ["derive"] }
serde_json = "1.0.39"
serde.workspace = true
serde_json.workspace = true
# Agent Policy
regorus = { version = "0.2.8", default-features = false, features = [
@ -27,7 +26,5 @@ json-patch = "2.0.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"
slog.workspace = true
slog-scope.workspace = true