Skip to main content

qualia_core_db/wasm_bridge/
mod.rs

1//! WASM-bindgen API surface — exposes Qualia engine functions to JavaScript.
2//! Split into domain submodules; `pub use *` keeps every `wasm_bridge::fn` path stable.
3
4#[cfg(feature = "wasm-scientific")]
5mod bio;
6#[cfg(feature = "wasm-scientific")]
7pub use bio::*;
8#[cfg(feature = "wasm-scientific")]
9mod chemistry;
10#[cfg(feature = "wasm-scientific")]
11pub use chemistry::*;
12#[cfg(feature = "wasm-scientific")]
13mod medical;
14#[cfg(feature = "wasm-scientific")]
15pub use medical::*;
16mod semantic;
17#[allow(unused_imports)]
18pub use semantic::*;
19mod logic;
20#[allow(unused_imports)]
21pub use logic::*;
22mod dataio;
23#[allow(unused_imports)]
24pub use dataio::*;
25/// Civics welfare / VaR / simulation receipts — available without GPU scientific stack.
26#[cfg(any(feature = "wasm-scientific", feature = "wasm-webcivics"))]
27mod compute;
28#[cfg(any(feature = "wasm-scientific", feature = "wasm-webcivics"))]
29pub use compute::*;
30// Computational-engine exports (linear algebra, CAS, statistics, numerics, exact,
31// units, transforms, graph) — the solver/CAS math surfaced to the full-wasm bundle.
32#[cfg(any(feature = "wasm-scientific", feature = "wasm-webcivics"))]
33mod engine;
34#[cfg(any(feature = "wasm-scientific", feature = "wasm-webcivics"))]
35pub use engine::*;
36mod meta;
37#[allow(unused_imports)]
38pub use meta::*;
39/// Device OPFS vault + backup-folder policy (Civics / mobile installs).
40mod device_storage;
41#[allow(unused_imports)]
42pub use device_storage::*;
43mod governance;
44#[allow(unused_imports)]
45pub use governance::*;
46#[cfg(feature = "wasm-scientific")]
47mod geometry;
48#[cfg(feature = "wasm-scientific")]
49pub use geometry::*;