pub mod shared;
cfg_if! {if #[cfg(any(
feature = "mysql-sync",
feature = "postgres-sync",
feature = "sqlite-sync",
feature = "oracle-sync",
feature = "mssql-sync"
))]{
pub mod blocking;
use crate::pool::blocking::PooledConnection;
use crate::driver::blocking::DbDriver;
}}
cfg_if! {if #[cfg(any(
feature = "mysql-async",
feature = "postgres-async",
feature = "sqlite-async",
feature = "oracle-async",
feature = "mssql-async"
))]{
pub mod non_blocking;
use crate::pool::non_blocking::AsyncPooledConnection;
use crate::driver::non_blocking::AsyncDbDriver;
}}
use akita_core::cfg_if;
#[derive(Debug, Clone)]
pub struct PoolStatus {
pub size: usize,
pub available: usize,
}