Skip to main content

frame_core/
lib.rs

1//! Component model, lifecycle, native process isolation, and host authority.
2//!
3//! This is the foundation of Frame. A component declares service wiring and
4//! capability needs, then runs in its own isolated process tree. Declarations
5//! never grant authority. The embedding host owns the sole mutable capability
6//! table through [`capability::HostCapabilityFacade`]; component-facing
7//! [`capability::CapabilityChecker`] values can only evaluate fresh checks.
8//! Native BEAM entrypoints receive only [`component::ChildArgument`] values, so
9//! neither facade nor table has a BEAM representation or crossing path. This is
10//! the type-level self-grant exclusion; the separate `frame-capability` crate
11//! keeps contract values enforcer-agnostic and beamr-free.
12
13pub mod capability;
14pub mod component;
15pub mod composition;
16pub mod error;
17pub mod event;
18pub mod registry;
19pub mod runtime;
20pub mod status;
21pub mod supervision;