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 catalog;
15pub mod connection;
16#[allow(missing_docs)]
17pub mod entity;
18pub mod pool;
19pub mod retry;
20
21pub use connection::{DbReadConnection, DbWriteConnection};