1mod repository;
19
20pub mod prelude {
21 #[cfg(feature = "postgres")]
24 pub use crate::{KeepsakeRepository, PostgresKeepsakeRepository, TimedKeepsakeRepository};
25 #[cfg(feature = "mysql")]
26 pub use crate::{MySqlKeepsakeRepository, TimedMySqlKeepsakeRepository};
27 pub use crate::{RepositoryError, RepositoryResult};
28 #[cfg(feature = "sqlite")]
29 pub use crate::{SqliteKeepsakeRepository, TimedSqliteKeepsakeRepository};
30}
31
32pub use repository::{
33 ActiveRelation, AppliedKeepsake, AuditCursor, AuditEventRecord, AuditOutboxCursor,
34 AuditOutboxRecord, FulfilledExpiryCandidate, KeepsakeSqlxBackend, MembershipCursor,
35 NoopRelationCache, RelationCache, RepositoryError, RepositoryResult, SqlxKeepsakeRepository,
36 TimedExpiryCandidate, TimedSqlxKeepsakeRepository,
37};
38#[cfg(feature = "postgres")]
39pub use repository::{
40 KeepsakeRepository, PostgresBackend, PostgresKeepsakeRepository, TimedKeepsakeRepository,
41};
42#[cfg(feature = "cache")]
43pub use repository::{LocalRelationCache, LocalRelationCacheConfig};
44#[cfg(feature = "mysql")]
45pub use repository::{MySqlBackend, MySqlKeepsakeRepository, TimedMySqlKeepsakeRepository};
46#[cfg(feature = "sqlite")]
47pub use repository::{SqliteBackend, SqliteKeepsakeRepository, TimedSqliteKeepsakeRepository};