Skip to main content

Crate macp_core

Crate macp_core 

Source
Expand description

macp-core — the transport-free coordination vocabulary of MACP.

This crate holds the stable types every other MACP crate (and external library consumers) build on, with no dependency on tonic, storage, or any async runtime:

Re-exports§

pub use error::MacpError;
pub use mode::ModeResponse;
pub use policy::PolicyDecision;
pub use policy::PolicyDefinition;
pub use policy::PolicyError;
pub use policy::PolicyEvaluator;
pub use session::Session;
pub use session::SessionState;

Modules§

decision
Decision mode domain types.
error
mode
The result a coordination mode hands back to the kernel.
policy
Policy vocabulary and the pluggable evaluation trait.
session