testkit_mysql/lib.rs
1mod error;
2mod mysql_async;
3mod sqlx_mysql;
4
5#[cfg(feature = "with-mysql-async")]
6pub use mysql_async::{MySqlBackend, MySqlConnection, MySqlPool, mysql_backend_with_config};
7
8#[cfg(feature = "with-sqlx")]
9pub use sqlx_mysql::{
10 SqlxMySqlBackend, SqlxMySqlConnection, SqlxMySqlPool, sqlx_mysql_backend_with_config,
11};
12
13pub use error::MySqlError;
14
15// Re-export core types from testkit-core
16pub use testkit_core::{DatabaseBackend, DatabaseConfig, DatabaseName, DatabasePool};