#![expect(
unused_crate_dependencies,
reason = "Cargo shares package dependencies across its library, binaries, and integration tests"
)]
#![cfg_attr(
test,
allow(
unused_results,
unreachable_pub,
reason = "test code intentionally discards setup return values and exposes helpers broadly"
)
)]
extern crate self as alibi;
mod runtime;
pub mod config;
pub mod email;
pub mod error;
pub mod hooks;
pub mod integrations;
pub mod middleware;
pub mod plugin;
pub mod plugins;
pub mod prelude;
pub mod schema;
#[cfg(feature = "seaorm")]
pub mod seaorm;
pub mod session;
#[cfg(any(feature = "sqlx-sqlite", feature = "sqlx-postgres"))]
pub mod sqlx;
pub mod store;
pub mod telemetry;
pub mod wire;
#[doc(hidden)]
pub use alibi_core as __private_core;
pub use alibi_core::PluginConfig;
pub use alibi_core::{
AuthConfig, AuthError, AuthResult, AuthSchema, AuthenticatedUser,
AwaitedNotificationErrorPolicy, BackgroundTaskCompletion, BackgroundTaskHandler,
CallbackContext, ManagedSecrets, PasswordHashContext, PasswordHashHook, PasswordHasher,
ScryptHasher, hash_password, verify_password,
};
pub use alibi_core::{endpoint, field_policy, user_validation, utils, verification};
pub use runtime::{AuthBuilder, BetterAuth};