Bump rust-url to 1.0.

This commit is contained in:
Corey Farwell 2016-04-25 10:55:22 -04:00
parent f91d6a59d2
commit 805a584f5c
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ sudo: required
rust:
- nightly
- beta
- 1.6.0
- 1.7.0
addons:
postgresql: 9.4
before_script:

View File

@ -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"

View File

@ -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());