Skip to content

Commit eb18cbd

Browse files
committed
Reexport Socket from postgres
1 parent 0c8ecc0 commit eb18cbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

postgres/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ use lazy_static::lazy_static;
6060
#[cfg(feature = "runtime")]
6161
use tokio::runtime::{self, Runtime};
6262

63+
#[cfg(feature = "runtime")]
64+
pub use tokio_postgres::Socket;
6365
pub use tokio_postgres::{error, row, tls, types, Column, Portal, SimpleQueryMessage, Statement};
6466

6567
pub use crate::client::*;

0 commit comments

Comments
 (0)