Expand description
Modulewise Composable Runtime
An inversion of control runtime for Wasm Components. Supports composition, config, and capability management.
Modules§
- header
- Well-known header keys.
Macros§
- create_
capability - Macro for creating a
(&str, HostCapabilityFactory)tuple with reduced boilerplate. - create_
state - Macro for implementing
create_state_boxed()with automatic TypeId inference.
Structs§
- Capability
State HasData HasDataimplementation that projectsComponentStateto a capability’s state type.- Category
Claim - A category claim with an optional selector for discriminator-based dispatch.
- Component
- A named Wasm Component and its exported functions.
- Component
Graph - Directed graph of component and capability definitions with dependency and interceptor edges.
- Component
State - State passed to Wasm components during execution.
- Condition
- A single condition within a selector.
- Function
- A function specification.
- Function
Param - A function parameter specification.
- Graph
Builder - Builder for constructing a ComponentGraph.
- Message
- The internal message type.
- Message
Builder - Builder for constructing a
Message. - Runtime
- Composable Runtime for invoking Wasm Components
- Runtime
Builder - Builder for configuring and creating a Runtime
- Selector
- Matches against a flattened string-to-string map. All conditions must match (AND semantics).
Enums§
- Operator
- Comparison operator for a selector condition.
Traits§
- Channel
- Messaging channel.
- Component
Invoker - Invoke components by name.
- Config
Handler - Handles configuration for one or more categories.
- Definition
Loader - Reads configuration from a source and produces generic definitions.
- Host
Capability - Trait implemented by host capability instances.
- Message
Publisher - Publish messages to channels by name.
- Service
- Lifecycle-managed service that participates in config parsing and runtime.
Type Aliases§
- Host
Capability Factory - Factory function that creates a HostCapability instance from TOML config.
- Property
Map - Source-agnostic property map with JSON values.