Expand description
Bounded WebAssembly component hosting for immediate-mode Dekopon providers.
This crate intentionally supports only read-only components with no host imports. It is a useful execution laboratory, not an authorization broker: loading a component does not grant external authority, credentials, filesystem access, network access, clocks, or environment variables.
Structs§
- Component
Failure - Serializable provider failure carried by
ComponentResponse::Failed. - Host
Limits - Limits applied independently to every provider description or invocation call.
- Host
Options - Operational host settings that bound nothing a component may do.
- Invocation
Output - Successful output from a routed provider invocation.
- Provider
Capability - One prompt-visible capability exported by a provider component.
- Provider
Conflicts - Everything wrong with one provider set, gathered so an operator sees it once.
- Provider
Manifest - Manifest returned by a provider component.
- Provider
Registry - A deterministic capability-to-component registry.
- Wasm
Provider - A provider component compiled by Wasmtime.
Enums§
- Component
Response - JSON response returned across the WIT boundary.
- Provider
ApiVersion - Version of the component manifest returned by a provider.
- Provider
Host Error - Failure to load, validate, route, or invoke a provider component.
Constants§
- DEFAULT_
FUEL - Default Wasm instruction fuel supplied to each store.
- DEFAULT_
MAX_ INPUT_ BYTES - Default maximum serialized provider input size (1 MiB).
- DEFAULT_
MAX_ INSTANCES - Default maximum core instances in one store.
- DEFAULT_
MAX_ MEMORIES - Default maximum linear memories in one store.
- DEFAULT_
MAX_ MEMORY_ BYTES - Default maximum size of each linear memory in one store (64 MiB).
- DEFAULT_
MAX_ OUTPUT_ BYTES - Default maximum serialized provider output or manifest size (1 MiB).
- DEFAULT_
MAX_ TABLES - Default maximum tables in one store.
- DEFAULT_
MAX_ TABLE_ ELEMENTS - Default maximum elements in each Wasm table.
- DEFAULT_
TIMEOUT - Default wall-clock timeout for instantiation and invocation.
- PROVIDER_
WIT - The WIT contract implemented by provider components.