servlet 1.0.0

A small application runtime with an explicit operational contract
Documentation
//! Explicitly managed PostgreSQL with native SQLx query and transaction APIs.
//!
//! Enabling `postgres` performs no I/O. Call [`crate::setup::SetupContext::postgres`]
//! during setup to connect, register cached readiness, and own pool cleanup.
//! Native queries are an escape hatch; they do not inherit request deadlines or
//! receive automatic operation instrumentation. Query macros are not enabled.
//! [`migrate`] exposes native explicit migrations for a separate command/job;
//! registering a pool never loads or applies migrations automatically.

mod config;
mod endpoint;
mod error;
mod lease;
mod managed;
mod metrics;
mod operation_error;
mod operation_metrics;
mod operation_run;
mod operations;
mod options;
mod session;

pub use config::{PgConfig, PgLimits, PgReadiness, PgTls};
pub use error::PgError;
pub use operation_error::PgOperationError;
pub use operations::{OperationFuture, PgOperation, PgOperations};
pub use session::PgSession;
pub use sqlx::{
    Acquire, Connection, Error, Executor, FromRow, PgConnection, PgPool, Postgres, QueryBuilder,
    Row, SqlSafeStr, SqlStr, Transaction, Type, migrate, pool, postgres, query, query_as,
    query_scalar, raw_sql,
};