sql_middleware/typed/
mod.rs

1//! Backend-agnostic typestate traits and enums for typed connections.
2//!
3//! This module provides traits for typed database connections with compile-time
4//! transaction state tracking, plus backend-neutral `AnyIdle`/`AnyTx` wrappers.
5
6mod any;
7#[cfg(feature = "postgres")]
8mod impl_postgres;
9#[cfg(feature = "sqlite")]
10mod impl_sqlite;
11#[cfg(feature = "turso")]
12mod impl_turso;
13mod traits;
14
15// Re-export everything for public API
16pub use any::{AnyIdle, AnyTx};
17pub use traits::{BeginTx, Queryable, TxConn, TypedConnOps};