1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
pub mod blockchain;
pub mod utils;
pub mod constants {
}
pub mod types {
use bson;
use chrono;
pub type BoxedError = Box<dyn std::error::Error>;
pub type DateTime = chrono::DateTime<LocalTime>;
pub type LocalTime = chrono::Local;
pub type ObjectId = bson::oid::ObjectId;
pub type TimeStamp = bson::DateTime;
}