diff --git a/src/agent/Cargo.lock b/src/agent/Cargo.lock index 861b4343b5..5d8e2234f0 100644 --- a/src/agent/Cargo.lock +++ b/src/agent/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "addr2line" @@ -3016,7 +3016,6 @@ dependencies = [ "futures", "image-rs", "ipnetwork", - "json-patch", "kata-agent-policy", "kata-sys-util", "kata-types", @@ -3035,7 +3034,6 @@ dependencies = [ "protobuf 3.5.1", "protocols", "regex", - "regorus", "rstest", "rtnetlink", "runtime-spec", diff --git a/src/agent/Cargo.toml b/src/agent/Cargo.toml index cb1b930222..34a39b5618 100644 --- a/src/agent/Cargo.toml +++ b/src/agent/Cargo.toml @@ -81,14 +81,8 @@ strum_macros = "0.26.2" image-rs = { git = "https://github.com/confidential-containers/guest-components", rev = "514c561d933cb11a0f1628621a0b930157af76cd", default-features = false, optional = true } # Agent Policy -regorus = { version = "0.2.6", default-features = false, features = [ - "arc", - "regex", - "std", -], optional = true } cdi = { git = "https://github.com/cncf-tags/container-device-interface-rs", rev = "fba5677a8e7cc962fc6e495fcec98d7d765e332a" } -json-patch = "2.0.0" -kata-agent-policy = { path = "policy" } +kata-agent-policy = { path = "policy", optional = true } [dev-dependencies] tempfile = "3.1.0" @@ -108,7 +102,7 @@ lto = true default-pull = ["guest-pull"] seccomp = ["rustjail/seccomp"] standard-oci-runtime = ["rustjail/standard-oci-runtime"] -agent-policy = ["regorus"] +agent-policy = [ "kata-agent-policy" ] guest-pull = ["image-rs/kata-cc-rustls-tls"] [[bin]]