mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-01-18 08:27:13 +01:00
serde_macros is no longer maintained and will eventually fail on nightly. Also in a hopefully not-so-distant future, we will be able to use macros 1.1 in stable, and thus get rid of the complication required for the hybrid approach.
39 lines
1.0 KiB
Rust
39 lines
1.0 KiB
Rust
#[cfg(feature = "nightly")]
|
|
#[macro_use]
|
|
extern crate serde_derive;
|
|
|
|
extern crate serde;
|
|
extern crate serde_json;
|
|
|
|
extern crate base64;
|
|
extern crate chrono;
|
|
extern crate openssl;
|
|
extern crate hyper;
|
|
#[cfg(test)]
|
|
extern crate log;
|
|
#[cfg(test)]
|
|
extern crate yup_hyper_mock;
|
|
extern crate url;
|
|
extern crate itertools;
|
|
|
|
mod authenticator;
|
|
mod authenticator_delegate;
|
|
mod device;
|
|
mod helper;
|
|
mod installed;
|
|
mod refresh;
|
|
mod service_account;
|
|
mod storage;
|
|
mod types;
|
|
|
|
pub use device::{GOOGLE_DEVICE_CODE_URL, DeviceFlow};
|
|
pub use refresh::{RefreshFlow, RefreshResult};
|
|
pub use types::{Token, FlowType, ApplicationSecret, ConsoleApplicationSecret, Scheme, TokenType};
|
|
pub use installed::{InstalledFlow, InstalledFlowReturnMethod};
|
|
pub use storage::{TokenStorage, NullStorage, MemoryStorage, DiskTokenStorage};
|
|
pub use authenticator::{Authenticator, Retry, GetToken};
|
|
pub use authenticator_delegate::{AuthenticatorDelegate, DefaultAuthenticatorDelegate, PollError,
|
|
PollInformation};
|
|
pub use helper::*;
|
|
pub use service_account::*;
|