Build Targets
PrimaDB deliberately has multiple build targets because the deployment constraints are genuinely different.
Rust Core
- canonical semantics
- native storage
- native relay
- native mesh
Default Browser WASM
- stable browser-first target
- no threaded WebAssembly requirements
- best default for compatibility
Build:
./build-wasm.sh
Threaded Browser WASM
- opt-in performance profile
- Rayon-backed parallel work in the browser
- requires nightly plus COOP/COEP
Build:
./build-wasm-threads.sh
TypeScript Package
Packages the browser runtime:
primadbprimadb/threadsprimadb/gun
Native Packages
primadb-nodeprimadb-python
These are native bindings over the Rust runtime, not browser-WASM-in-Node/Python shims.