lib.rs (982B)
1 #![cfg_attr(coverage_nightly, feature(coverage_attribute))] 2 #![forbid(unsafe_code)] 3 4 #[cfg(feature = "sqlite")] 5 mod error; 6 #[cfg(feature = "sqlite")] 7 mod migrations; 8 #[cfg(feature = "sqlite")] 9 mod model; 10 #[cfg(feature = "sqlite")] 11 mod store; 12 13 #[cfg(feature = "sqlite")] 14 pub use error::RadrootsEventStoreError; 15 #[cfg(feature = "sqlite")] 16 pub use migrations::{EVENT_STORE_MIGRATION_DOWN, EVENT_STORE_MIGRATION_UP}; 17 #[cfg(feature = "sqlite")] 18 pub use model::{ 19 RadrootsEventContractStatus, RadrootsEventHeadStoreDecision, RadrootsEventIngest, 20 RadrootsEventIngestReceipt, RadrootsEventStoreStatusSummary, RadrootsEventVerificationStatus, 21 RadrootsProjectionCursor, RadrootsRelayObservation, RadrootsRelayObservationType, 22 RadrootsStoredEvent, RadrootsStoredEventHead, RadrootsStoredEventTag, StoredEventClass, 23 }; 24 #[cfg(feature = "sqlite")] 25 pub use store::{ 26 RADROOTS_EVENT_STORE_CONTRACT_QUERY_LIMIT_MAX, RADROOTS_EVENT_STORE_QUERY_LIMIT_MAX, 27 RadrootsEventStore, 28 };