1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! # spacedb-query — SpaceDB Layer 4 (compute-to-data)
//!
//! The environment forbids hauling data to a central brain, so SpaceDB inverts
//! it: **the query travels to the data; only the answer travels back.** A query
//! is a deterministic, fuel/memory-bounded WASM function that runs on the node
//! holding the data — and because the runtime is deterministic, the result is
//! **corroboratable**: a host that returns a different answer than its peers is
//! caught.
//!
//! M6-S1 ships the verifiable-compute core: [`FunctionRuntime`] (deterministic,
//! no-WASI WASM execution), the [`FunctionRun`] attestation, and [`corroborate`].
//! The partition-aware planner + pinned-snapshot reads (S2) and the on-node vector
//! index (`spacedb-vector`, S3) build on this.
//!
//! Open-core (MIT): built on `wasmtime` directly — the engine MATA's
//! `maestro-fn-runtime` wraps — with no MATA dependency. Fanning corroboration
//! across independent marketplace hosts is the MATA seam; the runtime, the
//! attestation, and the comparison are here.
pub use ;
pub use ;
pub use ;
pub use ;
pub use Snapshot;
pub use ;
/// Compiles the README's examples as doctests, so the documented API can never
/// drift from the real one. Not part of the public API, and not rendered into
/// the crate docs — it exists only under `cargo test --doc`.
;