Skip to main content

journio_sqlite/
lib.rs

1//! journio-sqlite - SQLite backend for `journio-core`.
2//!
3//! Port of the SQLite path of `journio/system_database.go` using the Go project's
4//! SQLite migration set as the source of truth.
5
6// See journio-core: `JournioError` is slightly over the `result_large_err`
7// size threshold and boxing it would be a cascading public-API break.
8#![allow(clippy::result_large_err)]
9
10mod dialect;
11mod error;
12mod lib_impl;
13mod migrations;
14
15pub use crate::dialect::SqliteDialect;
16pub use crate::lib_impl::SqliteSystemDatabase;
17pub use crate::migrations::{latest_version, run_migrations};
18
19pub(crate) use crate::error::db_err;