Skip to main content

hayson_binding_shared/
lib.rs

1//! Everything a hayson language binding needs that is not about the foreign boundary itself: the
2//! `DatabaseError`/`TableError` → envelope mapping, the JSON shapes of the engine's result types,
3//! the `open()` options document, and the predicate document `Table::query` takes.
4//!
5//! Nothing here knows what it is bound to. The bindings that do — `hayson-napi` (Node native
6//! addon) and `hayson-wasm` (`wasm32-wasip1`) — own their own handle bookkeeping and their own way
7//! of raising an error, and share the whole of this crate.
8
9pub mod aggregate;
10pub mod errors;
11pub mod json;
12pub mod keys;
13pub mod options;
14pub mod predicate;