From c456d2c09f4d242ab0325600f256c11ba1f8e885 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Fri, 30 Aug 2019 14:15:03 -0700 Subject: [PATCH] Reenable postgres-native-tls --- Cargo.toml | 2 +- postgres-native-tls/src/test.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 015745ef..cf7f99ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ members = [ "codegen", "postgres", -# "postgres-native-tls", + "postgres-native-tls", "postgres-openssl", "postgres-protocol", "tokio-postgres", diff --git a/postgres-native-tls/src/test.rs b/postgres-native-tls/src/test.rs index 5e9dac58..d4942fe8 100644 --- a/postgres-native-tls/src/test.rs +++ b/postgres-native-tls/src/test.rs @@ -12,7 +12,7 @@ where T: TlsConnect, 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();