diff --git a/Cargo.lock b/Cargo.lock index f693acd66..081ffe6be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4674,7 +4674,6 @@ dependencies = [ "rand 0.9.4", "serde", "serde_json", - "serde_yaml", "spin", "thiserror 2.0.18", ] diff --git a/crates/openshell-prover/src/policy.rs b/crates/openshell-prover/src/policy.rs index 8aea4b7d0..aa40d0756 100644 --- a/crates/openshell-prover/src/policy.rs +++ b/crates/openshell-prover/src/policy.rs @@ -12,6 +12,7 @@ use std::path::Path; use miette::{IntoDiagnostic, Result, WrapErr}; use serde::Deserialize; +use serde::de::IgnoredAny; // --------------------------------------------------------------------------- // Policy intent @@ -60,10 +61,10 @@ struct PolicyFile { // Ignored fields the prover does not need. #[serde(default)] #[allow(dead_code)] - landlock: Option, + landlock: Option, #[serde(default)] #[allow(dead_code)] - process: Option, + process: Option, } #[derive(Debug, Deserialize)] diff --git a/crates/openshell-supervisor-network/Cargo.toml b/crates/openshell-supervisor-network/Cargo.toml index 71febf0af..0f19d1ff3 100644 --- a/crates/openshell-supervisor-network/Cargo.toml +++ b/crates/openshell-supervisor-network/Cargo.toml @@ -25,7 +25,7 @@ hex = "0.4" ipnet = "2" miette = { workspace = true } rcgen = { workspace = true } -regorus = { version = "0.9", default-features = false, features = ["std", "arc", "glob", "yaml"] } +regorus = { version = "0.9", default-features = false, features = ["std", "arc", "glob"] } reqwest = { workspace = true } rustls = { workspace = true } rustls-pemfile = { workspace = true }