Skip to main content

Crate shakrs_json_parser

Crate shakrs_json_parser 

Source
Expand description

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.

Re-exports§

pub use runtime::canonicalize;
pub use runtime::parse;
pub use runtime::parse;
pub use runtime::scaffold_default;
pub use types::ConfigParseError;
pub use types::PoliciesSection;
pub use types::PolicyOverride;
pub use types::ShakrsConfig;
pub use types::Waiver;

Modules§

runtime
Runtime parsing and serialization.
types
shakrs.json document types.