maelstrom_github/lib.rs
1//! This crate contains code that can communicate with GitHub's artifact API.
2//! See the documentation in the `client` module for more information.
3
4mod client;
5mod queue;
6
7use chrono::{DateTime, Utc};
8use std::time::Duration;
9
10pub use client::*;
11pub use queue::*;
12
13fn two_hours_from_now() -> DateTime<Utc> {
14 Utc::now() + Duration::from_secs(60 * 60 * 2)
15}