forumla 0.1.0

A cargo crate for accessing and analyzing Formula 1 results, schedules, timing data & telemetry
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod cache;
pub mod client;
pub mod params;
pub mod schemas;

#[derive(Debug)]
pub enum Errors {
    RequestFailed,
    InvalidResponseBody,
    InvalidResponseSchema,

    FailedToSetupCache,
    FailedToSaveCache,
    FailedToLoadCache,
}

pub type Result<T> = std::result::Result<T, Errors>;