Shared runtime helpers for the uni-db WASM plugin loaders.
uni-plugin-wasm-rt is the M6.shared lift — a crate that sits below
both uni-plugin-extism and uni-plugin-wasm in the dependency
graph and owns the two pieces of machinery they would otherwise
duplicate:
- Arrow IPC bridge ([
ipc]) —RecordBatch↔ stream bytes, shared between Extism's bytes-in/bytes-out boundary and the Component Model's linear-memory boundary. - Pre-warmed instance pool ([
pool]) — generic over the pooled instance type and the loader's error type. Both loaders alias this with their concreteTand error.
Neither piece depends on extism or wasmtime; both depend only on
arrow-ipc, crossbeam-queue, and parking_lot. That keeps the
crate small and lets it stay below uni-plugin in the workspace
dep graph, so the trait-only embedder pays nothing for plumbing
they never invoke.