#[cfg(feature = "wasm")]
pub mod allocator;
#[cfg(feature = "wasm")]
pub mod bridge;
#[cfg(feature = "wasm")]
pub mod kernels;
#[cfg(feature = "wasm")]
pub mod provider;
#[cfg(feature = "wasm")]
pub use allocator::WasmMemoryAllocator;
#[cfg(feature = "wasm")]
pub use bridge::{IndexedDbCache, TypedArrayInterface, WasmBridge};
#[cfg(feature = "wasm")]
pub use kernels::{WasmKernel, WasmSimd128Ops};
#[cfg(feature = "wasm")]
pub use provider::{WasmExecutionProvider, WasmProviderConfig, create_wasm_provider};
#[cfg(not(feature = "wasm"))]
pub fn wasm_not_available() -> anyhow::Result<()> {
anyhow::bail!("WebAssembly provider not available - enable the 'wasm' feature flag")
}