Expand description
Policy configuration, gating, and rescue verification.
The policy
module centralizes production hardening knobs and gating logic
used by preflight and apply stages. Consumers typically construct a
Policy
via presets (production_preset
,
coreutils_switch_preset
) and then customize fields before creating a
Switchyard
instance.
Submodules:
config
: policy struct and presetsgating
: apply-stage gating parity with preflightrescue
: rescue toolset verification helpers
The crate may expose compatibility re-exports at the top-level temporarily;
prefer importing from switchyard::policy
.
Re-exports§
pub use config::Policy;