rustbrain-core 0.3.2

Core engine for rustbrain: SQLite knowledge graph, ranked FTS, CSR mmap cache, and graph-aware AI context
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! SQLite master store for rustbrain.
//!
//! [`Database`] owns a single connection with `foreign_keys=ON`, WAL (best-effort),
//! and a busy timeout. Schema evolution is handled by [`SCHEMA_VERSION`] migrations
//! in `schema_meta`.
//!
//! Application code should prefer [`crate::Brain`]; use `Database` directly when
//! building custom indexers or offline maintenance tools.

mod db;
mod migrations;

pub use db::Database;
/// Current on-disk SQLite schema version supported by this build.
pub use migrations::SCHEMA_VERSION;