1#![cfg_attr(not(doctest), doc = include_str!("../README.md"))]
2#![warn(missing_docs)]
3#![cfg_attr(docsrs, feature(doc_cfg))]
4#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
5#![doc = document_features::document_features!()]
6
7#[cfg(not(any(feature = "native", feature = "wasm-js")))]
8compile_error!("Either feature \"native\" or \"wasm-js\" must be enabled for this crate");
9
10#[cfg(feature = "tracing")]
11#[macro_use]
12extern crate tracing;
13
14pub mod api;
15mod auth_client;
16pub mod idle_manager;
17pub mod key;
18pub mod option;
19pub mod storage;
20mod util;
21
22pub use auth_client::*;
23pub use idle_manager::IdleManagerOptions;
24#[cfg(feature = "native")]
25pub use option::native::NativeAuthClientCreateOptions;
26#[cfg(feature = "wasm-js")]
27pub use option::wasm_js::AuthClientCreateOptions;
28pub use option::{AuthClientLoginOptions, IdleOptions};
29pub use util::{arc_identity::ArcIdentity, callback, delegation_chain};