1
2
3
4
5
6
7
8
9
10
11
12
13
pub use types::*;


mod types {
    use bson;
    use chrono;

    pub type DateTime = chrono::DateTime<LocalTime>;
    pub type LocalTime = chrono::Local;
    pub type TimeStamp = bson::DateTime;

    pub type ObjectId = bson::oid::ObjectId;
}