Reenable postgres-native-tls
This commit is contained in:
parent
2a2b76d1b8
commit
c456d2c09f
@ -2,7 +2,7 @@
|
||||
members = [
|
||||
"codegen",
|
||||
"postgres",
|
||||
# "postgres-native-tls",
|
||||
"postgres-native-tls",
|
||||
"postgres-openssl",
|
||||
"postgres-protocol",
|
||||
"tokio-postgres",
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user