1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! Built-in driver implementations. //! //! Each driver module exposes a driver marker type and a `Database` helper for connections. #[cfg(feature = "postgres")] /// **PostgreSQL** database driver integration. pub mod postgres; #[cfg(feature = "sqlite")] /// **SQLite** database driver integration. pub mod sqlite; #[cfg(feature = "postgres")] pub use postgres::Postgres; #[cfg(feature = "sqlite")] pub use sqlite::Sqlite;