2024-11-10 19:40:39 -08:00
|
|
|
pub mod api;
|
2024-04-20 18:17:55 -07:00
|
|
|
|
2024-04-21 15:14:16 -07:00
|
|
|
pub mod model;
|
2024-04-20 18:17:55 -07:00
|
|
|
pub use self::api::APIInterface;
|
2024-11-10 19:40:39 -08:00
|
|
|
use ctor::ctor;
|
2024-04-20 18:17:55 -07:00
|
|
|
|
|
|
|
|
#[cfg(test)]
|
2024-04-21 15:14:16 -07:00
|
|
|
pub mod tests;
|
2024-11-10 19:40:39 -08:00
|
|
|
|
|
|
|
|
extern crate env_logger;
|
|
|
|
|
|
|
|
|
|
fn initialize_logging() {
|
|
|
|
|
env_logger::Builder::from_default_env()
|
|
|
|
|
.format_timestamp_secs()
|
|
|
|
|
.init();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#[ctor]
|
|
|
|
|
fn init() {
|
|
|
|
|
initialize_logging();
|
|
|
|
|
}
|