From eb18cbd4759965125dffbf84b14be16a2655de13 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 6 Apr 2019 21:26:02 -0700 Subject: [PATCH] Reexport Socket from postgres --- postgres/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/postgres/src/lib.rs b/postgres/src/lib.rs index c4305a2c..67304ba8 100644 --- a/postgres/src/lib.rs +++ b/postgres/src/lib.rs @@ -60,6 +60,8 @@ use lazy_static::lazy_static; #[cfg(feature = "runtime")] use tokio::runtime::{self, Runtime}; +#[cfg(feature = "runtime")] +pub use tokio_postgres::Socket; pub use tokio_postgres::{error, row, tls, types, Column, Portal, SimpleQueryMessage, Statement}; pub use crate::client::*;