keepsake_sqlx/lib.rs
1//! SQLx/Postgres adapter for Keepsake.
2
3mod repository;
4
5pub mod prelude {
6 //! Common imports for application modules using the `SQLx` adapter.
7
8 pub use crate::{KeepsakeRepository, RepositoryError, RepositoryResult};
9}
10
11pub use repository::{
12 ActiveRelation, AppliedKeepsake, KeepsakeRepository, MembershipCursor, NoopRelationCache,
13 RelationCache, RepositoryError, RepositoryResult, TimedExpiryCandidate,
14 TimedKeepsakeRepository,
15};
16#[cfg(feature = "cache")]
17pub use repository::{LocalRelationCache, LocalRelationCacheConfig};