wasm-bridge 0.4.0

Run WASM modules on desktop or on the web using wasmtime's API
Documentation
mod engine;
pub use engine::*;

mod store;
pub use store::*;

mod no_bindgen;
pub use no_bindgen::*;

mod conversions;
pub use conversions::*;

mod caller;
pub use caller::*;

mod config;
pub use config::*;

mod context;
pub use context::*;

pub type Error = anyhow::Error;
pub type Result<T, E = Error> = anyhow::Result<T, E>;
pub use anyhow::bail;
pub use anyhow::Context;

pub mod helpers;

#[cfg(feature = "component-model")]
pub mod component;

#[cfg(feature = "component-model")]
pub mod direct;
#[cfg(feature = "component-model")]
pub use direct::next_multiple_of;
#[cfg(feature = "component-model")]
pub use direct::usize_max;

#[cfg(feature = "async")]
pub use wasm_bridge_macros::async_trait;

pub use js_sys;
pub use wasm_bindgen;