Skip to main content

dpm_store/
lib.rs

1//! SQLite snapshots and append-only operations committed as one validated transaction.
2//!
3//! The `sqlite` feature (default) builds the store itself. Without it the crate provides only the
4//! records and errors the store returns, so an application layer built for a target without SQLite
5//! keeps one result and error vocabulary.
6
7mod error;
8mod record;
9mod run_error;
10#[cfg(feature = "sqlite")]
11mod schema;
12#[cfg(feature = "sqlite")]
13mod sqlite;
14
15pub use error::{LineageError, StoreError, StoredRecord};
16pub use record::{HistoryEntry, HistoryPage, RecordedOperation, StoreLineage, StoreRevision};
17pub use run_error::RunStoreError;
18#[cfg(feature = "sqlite")]
19pub use schema::SCHEMA_VERSION;
20#[cfg(feature = "sqlite")]
21pub use sqlite::{
22    IntegrityReport, RUN_ACTIVITY_LIMIT, RUN_STORE_VERSION, RunBinding, RunStore, RunStoreReport,
23    SqliteStore, Written, restore_store_blocking, store_revision_blocking, verify_store_blocking,
24};