Skip to main content

Crate wasm_capability_core

Crate wasm_capability_core 

Source
Expand description

wasm-capability-core — this pattern’s own default, zero-external-technology implementation of CapabilityRegistry (SEA core/, local ADR-001): InMemoryCapabilityRegistry, built on svc-registry-adapter’s real DefaultRegistry<T: Named> rather than hand-rolled storage. A technology-specific CapabilityEngine, ComponentValidator, or CapabilityDispatcher implementation belongs in its own wasm-capability-<technology>-spi crate in wasm-capability-system instead — this crate wraps no external technology of its own.

Structs§

InMemoryCapabilityRegistry
In-memory CapabilityRegistry, seeded with ADR-001’s six built-in capabilities. A deployer registers additional named instances (e.g. grpc-egress:inventory-svc) via Self::register without editing this crate’s source.