1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! This is the core module, containing both the  [`Repository`] and the [`Projector`] struct.
//!
//! You can use the [`Repository`] struct to use a nice abstraction for the underlying event logs,
//! or use the [`Projector`] struct to access the lower-level operations of event projection.
//!
//! [`Repository`]: repository/struct.Repository.html
//! [`Projector`]: projector/struct.Projector.html

use chrono::{DateTime, Utc};

mod event;
mod projector;
mod segment;
// mod repository;

pub use event::*;
pub use projector::*;
pub use segment::*;
// pub use repository::*;

/// The timestamp type used in this library
pub type Timestamp = DateTime<Utc>;