gapirs_common/lib.rs
1#![allow(unused_imports)]
2
3extern crate alloc;
4extern crate core;
5
6pub use crate::api::*;
7use crate::errors::{ApiCallError, GetTokenError, StdError, StdResult};
8pub use std::error::Error;
9pub use std::future::Future;
10pub use yup_oauth2::authenticator::Authenticator;
11pub use yup_oauth2::hyper_rustls::HttpsConnector;
12pub use yup_oauth2::{AccessToken, InstalledFlowAuthenticator};
13
14pub mod api;
15/// This module provides some functions that can be used as serde defaults
16///
17/// It is only necessary because the serde crate has no way to specify a default value for a field
18/// it only allows functions. There is an issue open for this (since 2016): `https://github.com/serde-rs/serde/issues/368`
19pub mod defaults;
20pub mod deps;
21pub mod errors;
22pub mod utils;