use exun::{RawUnexpected, ResultErrorExt}; use sqlx::MySqlPool; mod client; mod jwt; mod user; pub use self::jwt::*; pub use client::*; pub use user::*; /// Intialize the connection pool pub async fn initialize(db_url: &str) -> Result { MySqlPool::connect(db_url).await.unexpect() }