#![warn(missing_docs)]
#![warn(rust_2018_idioms)]
#![warn(missing_debug_implementations)]
pub mod buffer;
pub mod error;
pub mod ipc {
pub use uni_plugin_wasm_rt::ipc::{decode_batch, decode_batches, encode_batch, encode_batches};
}
pub mod pool {
pub use uni_plugin_wasm_rt::pool::{PoolConfig, PoolMetrics};
pub type WasmInstancePool<T> = uni_plugin_wasm_rt::pool::InstancePool<T, crate::WasmError>;
pub type PooledInstance<T> = uni_plugin_wasm_rt::pool::PooledInstance<T, crate::WasmError>;
}
#[cfg(feature = "wasmtime-runtime")]
pub mod adapter;
#[cfg(feature = "wasmtime-runtime")]
pub mod adapter_aggregate;
#[cfg(feature = "wasmtime-runtime")]
pub(crate) mod adapter_common;
#[cfg(feature = "wasmtime-runtime")]
pub mod adapter_procedure;
#[cfg(feature = "wasmtime-runtime")]
pub mod bindings;
#[cfg(feature = "wasmtime-runtime")]
pub mod host_state;
#[cfg(feature = "wasmtime-runtime")]
pub mod linker;
#[cfg(feature = "wasmtime-runtime")]
pub mod loader;
#[cfg(feature = "wasmtime-runtime")]
pub mod multi_version;
#[doc(inline)]
pub use buffer::WasmIpcBuffer;
#[doc(inline)]
pub use error::WasmError;
#[doc(inline)]
pub use pool::WasmInstancePool;
#[cfg(feature = "wasmtime-runtime")]
#[doc(inline)]
pub use loader::WasmLoader;
#[cfg(feature = "wasmtime-runtime")]
#[doc(inline)]
pub use multi_version::{MultiVersionLinker, SUPPORTED_MAJORS};