Bump rust-url to 1.0.
This commit is contained in:
parent
f91d6a59d2
commit
805a584f5c
@ -3,7 +3,7 @@ sudo: required
|
||||
rust:
|
||||
- nightly
|
||||
- beta
|
||||
- 1.6.0
|
||||
- 1.7.0
|
||||
addons:
|
||||
postgresql: 9.4
|
||||
before_script:
|
||||
|
@ -43,4 +43,4 @@ eui48 = { version = "0.1", optional = true }
|
||||
clippy = { version = "0.0.61", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
url = "0.5"
|
||||
url = "1.0"
|
||||
|
@ -89,7 +89,7 @@ fn test_unix_connection() {
|
||||
let unix_socket_directory = unix_socket_directories.split(',').next().unwrap();
|
||||
|
||||
let path = url::percent_encoding::utf8_percent_encode(
|
||||
unix_socket_directory, url::percent_encoding::USERNAME_ENCODE_SET);
|
||||
unix_socket_directory, url::percent_encoding::USERINFO_ENCODE_SET);
|
||||
let url = format!("postgres://postgres@{}", path);
|
||||
let conn = or_panic!(Connection::connect(&url[..], SslMode::None));
|
||||
assert!(conn.finish().is_ok());
|
||||
|
Loading…
Reference in New Issue
Block a user