diff --git a/Cargo.toml b/Cargo.toml index eee6526..3f84860 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r2d2_postgres" -version = "0.15.0-rc.1" +version = "0.16.0-alpha.1" authors = ["Steven Fackler "] edition = "2018" license = "MIT" @@ -10,5 +10,4 @@ keywords = ["postgres", "sql", "pool", "database"] [dependencies] r2d2 = "0.8" -postgres = "0.16.0-rc.1" -tokio-postgres = "0.4.0-rc.2" +postgres = "=0.17.0-alpha.1" diff --git a/src/lib.rs b/src/lib.rs index b921334..afb56a3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,9 +5,8 @@ pub use postgres; pub use r2d2; use postgres::tls::{MakeTlsConnect, TlsConnect}; -use postgres::{Client, Config, Error}; +use postgres::{Client, Config, Error, Socket}; use r2d2::ManageConnection; -use tokio_postgres::Socket; /// An `r2d2::ManageConnection` for `postgres::Client`s. ///