//! Compile-time-selected sqlx pool aliases.
//!
//! Enable exactly one of the `sqlite` or `postgres` features. Library code
//! consistently uses [`Pool`] / [`SessionPool`] rather than naming the
//! concrete sqlx pool type so the same query strings work across backends.
compile_error!;
compile_error!;
/// The sqlx connection pool arium runs every query against. Resolves to
/// `SqlitePool` or `PgPool` depending on which backend feature is active.
pub type Pool = SqlitePool;
/// The sqlx connection pool arium runs every query against. Resolves to
/// `SqlitePool` or `PgPool` depending on which backend feature is active.
pub type Pool = PgPool;
/// The session-store pool adapter consumed by `axum_session`. Wraps the
/// matching backend variant of [`Pool`].
pub type SessionPool = SessionSqlitePool;
/// The session-store pool adapter consumed by `axum_session`. Wraps the
/// matching backend variant of [`Pool`].
pub type SessionPool = SessionPgPool;