splicer 2.4.1

Plan and generate middleware splice operations for WebAssembly component composition graphs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Tier-1 adapter generator: wraps a middleware component with
//! before/after/blocking hooks and re-exports the wrapped handler's
//! target interface.
//!
//! Cross-tier infrastructure (canonical-ABI compat helpers, shared
//! index/memory bookkeeping) lives at the [`super`] level under
//! `adapter/{compat,indices,mem_layout,shared}`.
//!
//! Submodules:
//! - [`emit`] — entry point ([`emit::build_adapter`]) that synthesizes
//!   the adapter world's WIT, builds a dispatch core module, and
//!   hands everything to `wit_component::ComponentEncoder`.

mod emit;
#[cfg(test)]
pub(in crate::adapter) mod tests;

pub(super) use emit::build_adapter;