1 2 3 4 5 6 7
use crate::PostgresEventRepository;
use cqrs_es::persist::PersistedEventStore;
use cqrs_es::CqrsFramework;
/// A convenience type for a CqrsFramework backed by
/// [PostgresStore](struct.PostgresStore.html).
pub type PostgresCqrs<A> = CqrsFramework<A, PersistedEventStore<PostgresEventRepository, A>>;