cargo update
This commit is contained in:
parent
d9e4625f01
commit
3b8ac2cdd7
@ -3,7 +3,7 @@ name = "postgres"
|
|||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
authors = [ "Steven Fackler <sfackler@gmail.com>" ]
|
authors = [ "Steven Fackler <sfackler@gmail.com>" ]
|
||||||
|
|
||||||
[[lib]]
|
[lib]
|
||||||
name = "postgres"
|
name = "postgres"
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
test = false
|
test = false
|
||||||
|
@ -97,8 +97,7 @@ fn open_socket(params: &PostgresConnectParams)
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn initialize_stream(params: &PostgresConnectParams, ssl: &SslMode)
|
pub fn initialize_stream(params: &PostgresConnectParams, ssl: &SslMode)
|
||||||
-> Result<MaybeSslStream<InternalStream>,
|
-> Result<MaybeSslStream<InternalStream>, PostgresConnectError> {
|
||||||
PostgresConnectError> {
|
|
||||||
let mut socket = try!(open_socket(params));
|
let mut socket = try!(open_socket(params));
|
||||||
|
|
||||||
let (ssl_required, ctx) = match *ssl {
|
let (ssl_required, ctx) = match *ssl {
|
||||||
|
Loading…
Reference in New Issue
Block a user