Reenable postgres-native-tls
This commit is contained in:
parent
2a2b76d1b8
commit
c456d2c09f
@ -2,7 +2,7 @@
|
|||||||
members = [
|
members = [
|
||||||
"codegen",
|
"codegen",
|
||||||
"postgres",
|
"postgres",
|
||||||
# "postgres-native-tls",
|
"postgres-native-tls",
|
||||||
"postgres-openssl",
|
"postgres-openssl",
|
||||||
"postgres-protocol",
|
"postgres-protocol",
|
||||||
"tokio-postgres",
|
"tokio-postgres",
|
||||||
|
@ -12,7 +12,7 @@ where
|
|||||||
T: TlsConnect<TcpStream>,
|
T: TlsConnect<TcpStream>,
|
||||||
T::Stream: 'static + Send,
|
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
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user