use wasm_bindgen::prelude::*;
mod backend;
mod config;
mod diagnostics;
mod graph;
mod pipeline;
mod validation;
pub use backend::*;
pub use config::*;
pub use diagnostics::*;
pub use graph::*;
pub use pipeline::*;
pub use validation::*;
#[wasm_bindgen(start)]
pub fn init_panic_hook() {
console_error_panic_hook::set_once();
}
#[wasm_bindgen(js_name = getVersion)]
pub fn get_version() -> String {
env!("CARGO_PKG_VERSION").to_string()
}
#[wasm_bindgen(js_name = hasBurn)]
pub fn has_burn() -> bool {
cfg!(feature = "burn")
}
#[wasm_bindgen(js_name = hasCubecl)]
pub fn has_cubecl() -> bool {
cfg!(feature = "cubecl")
}
#[wasm_bindgen(js_name = hasRustAiCore)]
pub fn has_rust_ai_core() -> bool {
cfg!(feature = "rust-ai-core")
}