graphrefly_storage/lib.rs
1//! `GraphReFly` storage tier dispatch + Node-side persistence.
2//!
3//! Implements the G.27 storage tier protocol: tiered N-way storage with
4//! per-tier transactions, debouncing, compaction, and codec
5//! parameterization. Phase 13.6's deferred ACID atomicity tightening
6//! lands here via [`redb`](https://docs.rs/redb), which provides
7//! pure-Rust ACID transactions without a C dependency.
8//!
9//! # Status
10//!
11//! Scaffold. Implementation lands during Milestone 4 of the Rust port.
12//!
13//! # Module layout (planned)
14//!
15//! - `tier` — `StorageTier` trait, dispatch, transaction model
16//! - `memory` — `MemoryStorage`
17//! - `file` — `FileStorage` (atomic rename via tempfile)
18//! - `redb_store` — `RedbStorage` (replaces sqliteStorage)
19//! - `wal` — write-ahead log (Phase 8.7 + Phase 14 delta-replay substrate)
20//! - `compaction` — compactEvery / debounce coalescing
21
22#![warn(rust_2018_idioms, unreachable_pub)]
23#![warn(clippy::pedantic)]
24#![allow(clippy::module_name_repetitions, clippy::missing_errors_doc)]
25
26#[cfg(test)]
27mod tests {
28 #[test]
29 fn scaffold_compiles() {}
30}