wist-validate 0.1.3

Static validators for wist contracts, configuration, and runtime state
Documentation

wist-validate

Static validators for contracts, configuration, and runtime state.

crates.io docs.rs Downloads CI codecov dependency status License: Apache-2.0

wist-validate provides small, side-effect-free validators that return a ValidationError on failure. It validates wist-contracts objects, wist-agentd configuration, and runtime state before they are executed or persisted.

Modules

Module Purpose
action_plan ActionPlan validation entrypoints.
action_result ActionResult validation entrypoints.
config Config validation entrypoints.
gateway Gateway envelope validation entrypoints.
state Local state validation entrypoints.

Example

use wist_validate::action_plan::validate_action_plan;

validate_action_plan(&plan)?;

Related crates

License

Apache-2.0