sqlx/sqlx/src/mysql.rs
2021-02-18 23:46:03 -08:00

23 lines
574 B
Rust

//! [MySQL] database driver.
//!
//! [MySQL]: https://www.mysql.com/
//!
mod connection;
mod database;
mod options;
#[cfg(feature = "blocking")]
mod blocking;
//
// these types are wrapped instead of re-exported
// this is to provide runtime-specialized inherent methods by taking advantage
// of through crate-local negative reasoning
pub use connection::MySqlConnection;
pub use database::MySql;
pub use options::MySqlConnectOptions;
//
// re-export the remaining types from the driver
pub use sqlx_mysql::{MySqlColumn, MySqlDatabaseError, MySqlQueryResult, MySqlRow};