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
//! # embedmind-core
//!
//! The engine: single-file crash-safe storage, vector index, embeddings, hybrid
//! recall. This crate is THE asset — the MCP server and CLI are thin shells over
//! its public API, and no domain logic may live outside it.
//!
//! Layering (see `DESIGN.md` §2 — lower layers never depend on upper ones):
//!
//! ```text
//! api — Memory, Store, Query (public API)
//! recall — hybrid score fusion (RRF, from M2)
//! index — HNSW (M1) · full-text, metadata (M2)
//! embed — ONNX pipeline behind the `Embedder` trait
//! storage — pager, WAL, page cache, B-tree
//! format — binary layout, checksums (incl. `record`, FORMAT.md §5)
//! ```
//!
//! Hard rules enforced here: no network access, no telemetry, no `unsafe`
//! (workspace lint), no `unwrap`/`panic` on production paths.
pub use ;
pub use ;
pub use ;
pub use Ulid;