We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f80b78 commit 0de50abCopy full SHA for 0de50ab
2 files changed
postgres-protocol/src/authentication/sasl.rs
@@ -257,7 +257,7 @@ impl ScramSha256 {
257
return Err(io::Error::new(
258
io::ErrorKind::Other,
259
format!("SCRAM error: {}", e),
260
- ))
+ ));
261
}
262
ServerFinalMessage::Verifier(verifier) => verifier,
263
};
postgres/src/client.rs
@@ -1,11 +1,11 @@
1
use fallible_iterator::FallibleIterator;
2
use futures::{Async, Future, Poll, Stream};
3
use std::io::{self, Read};
4
+use tokio_postgres::tls::{MakeTlsConnect, TlsConnect};
5
use tokio_postgres::types::{ToSql, Type};
6
use tokio_postgres::Error;
7
#[cfg(feature = "runtime")]
-use tokio_postgres::{Socket};
8
-use tokio_postgres::tls::{MakeTlsConnect, TlsConnect};
+use tokio_postgres::Socket;
9
10
11
use crate::Config;
0 commit comments