Skip to main content

Crate dekopon_provider_host

Crate dekopon_provider_host 

Source
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§

ComponentFailure
Serializable provider failure carried by ComponentResponse::Failed.
HostLimits
Limits applied independently to every provider description or invocation call.
HostOptions
Operational host settings that bound nothing a component may do.
InvocationOutput
Successful output from a routed provider invocation.
ProviderCapability
One prompt-visible capability exported by a provider component.
ProviderConflicts
Everything wrong with one provider set, gathered so an operator sees it once.
ProviderManifest
Manifest returned by a provider component.
ProviderRegistry
A deterministic capability-to-component registry.
WasmProvider
A provider component compiled by Wasmtime.

Enums§

ComponentResponse
JSON response returned across the WIT boundary.
ProviderApiVersion
Version of the component manifest returned by a provider.
ProviderHostError
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.