Reenable postgres-native-tls

This commit is contained in:
Steven Fackler 2019-08-30 14:15:03 -07:00
parent 2a2b76d1b8
commit c456d2c09f
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
members = [
"codegen",
"postgres",
# "postgres-native-tls",
"postgres-native-tls",
"postgres-openssl",
"postgres-protocol",
"tokio-postgres",

View File

@ -12,7 +12,7 @@ where
T: TlsConnect<TcpStream>,
T::Stream: 'static + Send,
{
let stream = TcpStream::connect(&"127.0.0.1:5433".parse().unwrap())
let stream = TcpStream::connect("127.0.0.1:5433")
.await
.unwrap();