Login
4 branches 0 tags
Ben (Desktop/Arch) Updated flake 9689a25 19 days ago 212 Commits
rubhub / src / main.rs
fn main() {
    let start = std::time::Instant::now();

    #[cfg(debug_assertions)]
    if dotenvy::dotenv().is_err() {
        println!("No .env found, using dev defaults");
    }

    // We do this two-step approach to make it easier to do integration tests.
    let config = rubhub::AppConfig::new().expect("Error creating AppConfig");
    rubhub::run_multi_thread(config, start)
}