AkurAI Build
Menu

Public repository / 59a461a1d8da66d64b852d3052f0b8b5dbfa5f26

AkurAI-Framework / crates/storage/src/lib.rs

Latest change 59a461a1d8da66d64b852d3052f0b8b5dbfa5f26 - feat(storage): single-file pager — fixed pages, alloc, durable sync by Ólafur Búi Ólafsson

//! AkurAI-Framework storage engine — pure `std`, zero dependencies.
//!
//! The bottom of the database stack. Everything above (B+tree, catalog, SQL)
//! rests on a single-file [`Pager`] that reads and writes fixed-size pages and
//! can be forced durable with [`Pager::sync`]. Crash safety is built here
//! first, because nothing above it can be trusted otherwise.

#![forbid(unsafe_code)]

pub mod pager;

pub use pager::{PageId, Pager, PAGE_SIZE};