maelstrom-github 0.14.0

Client code for communicating with GitHub APIs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! This crate contains code that can communicate with GitHub's artifact API.
//! See the documentation in the `client` module for more information.

mod client;
mod queue;

use chrono::{DateTime, Utc};
use std::time::Duration;

pub use client::*;
pub use queue::*;

fn two_hours_from_now() -> DateTime<Utc> {
    Utc::now() + Duration::from_secs(60 * 60 * 2)
}