Expand description
Host runtime for Surrealism WASM plugins.
Runs on the SurrealDB server. Loads .surli packages, manages the
controller pool, and executes guest functions with epoch-based timeouts.
Re-exports§
pub use net_allow::ResolvedNetAllow;pub use net_allow::resolve_allow_net;
Modules§
- capabilities
- config
- controller
- Per-execution WASM controller.
- epoch
- Shared WASM engines with optional epoch-based timeout enforcement.
- exports
- Exports manifest: function signatures baked into
.surliarchives. - host
- InvocationContext trait and WIT host implementation.
- kv
- Per-module key-value store (in-memory only).
- net_
allow - Resolve
allow_netstrings once at module load time. - package
.surliarchive format: tar + zstd containingmod.wasm, config, exports, and optionalsurrealism/fs/filesystem. Only WASM components are accepted.- runtime
- Compiled WASM runtime (shared, immutable, thread-safe).
- store
- WASM store data for the component model.
Enums§
Constants§
- SDK_
VERSION - The version of the Surrealism SDK that this runtime was compiled against.
Used by the build toolchain to verify that a module’s
surrealismdependency matches before compilation.