oneshot_oauth2_callback/
lib.rs

1#![deny(unsafe_code, missing_docs, clippy::all)]
2
3//! # oneshot-auth2-callback
4//!
5//!
6
7/// Standard OAuth2 response types not implemented in the `oauth2` crate.
8pub mod response;
9mod server;
10#[cfg(feature = "async")]
11mod server_async;
12#[cfg(feature = "sync")]
13mod server_sync;
14mod ui;
15
16#[cfg(feature = "async")]
17pub use server_async::{oneshot, Error};
18#[cfg(feature = "sync")]
19/// A blocking API
20pub mod blocking {
21    pub use crate::server_sync::{oneshot, Error};
22}