shakrs-json-parser 0.1.0

Parser, validator, scaffolder, and canonical formatter for the shakrs.json workspace config. Zero I/O; no policy-registry knowledge.
Documentation
//! `shakrs-json-parser`: owns the `shakrs.json` workspace-config file format.
//!
//! Shakrs-specific: it lives in the product layer, not the cross-product
//! `aqc-` layer. Pure: zero I/O. There is no engine here -- `shakrs.json` has
//! no policy-driven content to reconcile, only a default scaffold and a
//! key-sort.
//!
//! What this crate does NOT do (it belongs in the runner, which holds the
//! policy registry): resolve `default_enabled` + `overrides` into the active
//! policy set, validate `waiver.rule` against registered adapters, or
//! deserialize `PolicyOverride::Detailed.params` into a policy's input type.

#[cfg(feature = "api")]
pub mod runtime;
#[cfg(feature = "api")]
pub mod types;

#[cfg(feature = "api")]
pub use runtime::{canonicalize, parse, scaffold_default};
#[cfg(feature = "api")]
pub use types::{ConfigParseError, PoliciesSection, PolicyOverride, ShakrsConfig, Waiver};