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:
error::MacpError— the canonical error enum and RFC error codessession— thesession::Sessionmodel andSessionStartvalidationmode::ModeResponse— the result a mode hands back to the kerneldecision— the Decision mode’s domain types (shared with policy)policy—policy::PolicyDefinition,policy::PolicyDecision,policy::PolicyError, the sharedpolicy::CommitmentRules, and thepolicy::PolicyEvaluatortrait that modes call through
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;