mod_api/lib.rs
1//! Mod-facing API, re-exporting the engine vocabulary.
2extern crate self as mod_api;
3
4pub use mod_vocab::*;
5/// Shared Wire values and the mod-side transport.
6pub mod wire {
7 pub use mod_vocab::wire::*;
8 /// The mod side of the WebAssembly boundary.
9 #[cfg(any(target_arch = "wasm32", feature = "wasm-guest"))]
10 pub mod wire_guest;
11 #[cfg(any(target_arch = "wasm32", feature = "wasm-guest"))]
12 pub use wire_guest as guest;
13}