diff --git a/src/lib.rs b/src/lib.rs index a0b0e2cb..d11d35fa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,7 +32,7 @@ pub mod types; pub mod mariadb; #[cfg(feature = "postgres")] -pub mod postgres; +mod postgres; // TODO: This module is not intended to be directly public pub mod connection; diff --git a/src/pool.rs b/src/pool.rs index 16cada9b..85160e5a 100644 --- a/src/pool.rs +++ b/src/pool.rs @@ -12,6 +12,7 @@ use std::{ time::Instant, }; +// TODO: Add a sqlx::Connection type so we don't leak the RawConnection // TODO: Reap old connections // TODO: Clean up (a lot) and document what's going on // TODO: sqlx::ConnectOptions needs to be removed and replaced with URIs everywhere