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 errors;
10pub mod json;
11pub mod keys;
12pub mod options;
13pub mod predicate;