1#![deny(unsafe_code)]
12#![warn(missing_docs)]
13#![allow(clippy::all)]
14
15pub(crate) mod crypto;
16pub mod error;
17pub mod kernel;
18pub mod state;
19pub mod step;
20pub mod types;
21
22#[cfg(extract)]
25pub mod extract_anchor;
26
27pub use error::Error;
29pub use kernel::Kernel;
30
31pub use types::{
33 Action,
35 ActorId,
37 Blake3Hash,
39 CapId,
40 CapPayload,
41 Capability,
42 CapabilityError,
43 DomainId,
44 Hash32,
45 Key,
46 LogEvent,
47 MemAddr,
48 MemRegion,
50 MsgId,
51 MsgState,
52 ParseMemRegionError,
54 ParseMsgStateError,
55 ParsePolicyDecisionError,
56 ParseRightError,
57 ParseSecurityLevelError,
58 PluginId,
59 PolicyContext,
60 PolicyDecision,
61 PolicyDecisionFn,
62 PolicyError,
63 PolicyState,
64 ResourceId,
65 Right,
67 Rights,
68 RightsError,
69 RuntimeTag,
70 SealedTag,
71 SecurityLevel,
73 Size,
74 SymbolicTag,
75 ThreadId,
77 Time,
78 WorkflowId,
79};
80
81pub use step::{
83 AuthorizationError,
84 Authorized,
86 HostCall,
88 HostCallPrecondition,
89 HostFunction,
90 HostResult,
91 InvalidTransitionReason,
93 KernelOp,
95 KernelOpError,
96 PluginInternal,
98 PluginPrecondition,
99 Step,
100 StepError,
101};