microsandbox_db/lib.rs
1//! Shared database entity definitions and connection helpers for the
2//! microsandbox project.
3//!
4//! Used by both `microsandbox` (host CLI) and `microsandbox-runtime`
5//! (in-VM supervisor). They share the same SQLite file, so the connection
6//! builder lives here to keep PRAGMAs in one place.
7
8#![warn(missing_docs)]
9
10//--------------------------------------------------------------------------------------------------
11// Exports
12//--------------------------------------------------------------------------------------------------
13
14pub mod connection;
15#[allow(missing_docs)]
16pub mod entity;
17pub mod pool;
18pub mod retry;
19
20pub use connection::{DbReadConnection, DbWriteConnection};