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 downstream consumer crate instead — this crate wraps no external technology of its own, and has no dependency on, or knowledge of, any consumer.

Structs§

InMemoryCapabilityRegistry
In-memory CapabilityRegistry — starts empty, matching HashMap::new()/Vec::new() convention. This crate has no knowledge of, or dependency on, any specific technology or consumer; a caller registers whichever named instances it needs (e.g. grpc-egress:inventory-svc) via Self::register.