paladin_storage/lib.rs
1//! # paladin-storage
2//!
3//! SQL-backed repository adapters for the Paladin multi-agent framework.
4//!
5//! ## Feature flags
6//!
7//! | Flag | Enables |
8//! |------|---------|
9//! | `sqlite` | [`sqlite_content_repository`], [`sqlite_user_repository`] |
10//! | `mysql` | [`mysql_content_repository`] |
11//!
12//! Enable only the backends your deployment actually uses.
13
14#![warn(missing_docs)]
15#![allow(rustdoc::broken_intra_doc_links)]
16
17/// SQLite implementation of `ContentRepository`, `ContentListRepository`,
18/// `MigrationManager`, and `SqlStore`.
19#[cfg(feature = "sqlite")]
20pub mod sqlite_content_repository;
21
22/// SQLite implementation of `UserRepositoryPort`.
23#[cfg(feature = "sqlite")]
24pub mod sqlite_user_repository;
25
26/// SQLite implementation of `WorkflowRepositoryPort`.
27#[cfg(feature = "sqlite")]
28pub mod sqlite_workflow_repository;
29
30/// MySQL implementation of `ContentRepository`, `ContentListRepository`,
31/// `MigrationManager`, and `SqlStore`.
32#[cfg(feature = "mysql")]
33pub mod mysql_content_repository;