Skip to main content

openauth_core/
lib.rs

1//! Core types and primitives for OpenAuth.
2
3pub mod api;
4pub mod auth;
5pub mod context;
6pub mod cookies;
7pub mod crypto;
8pub mod db;
9pub mod env;
10pub mod error;
11pub mod options;
12pub mod plugin;
13pub mod rate_limit;
14pub mod secret;
15pub mod session;
16pub mod user;
17pub mod utils;
18pub mod verification;
19
20#[cfg(feature = "oauth")]
21pub use openauth_oauth as oauth;
22#[cfg(feature = "social-providers")]
23pub use openauth_social_providers as social_providers;
24
25/// Current crate version.
26pub const VERSION: &str = env!("CARGO_PKG_VERSION");