Skip to content

Commit 13ba54d

Browse files
committed
Remove hyper dependency from rustup-mock
1 parent 9a9bb74 commit 13ba54d

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

Cargo.lock

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rustup-mock/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ homepage = "https://github.com/rust-lang-nursery/rustup.rs"
1010
repository = "https://github.com/rust-lang-nursery/rustup.rs"
1111

1212
[dependencies]
13-
hyper = "0.9.2"
13+
url = "1.1.0"
1414
scopeguard = "0.1.2"
1515
lazy_static = "0.1.15"
1616
walkdir = "0.1.5"

src/rustup-mock/src/clitools.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use {MockInstallerBuilder, MockCommand};
1313
use dist::{MockDistServer, MockChannel, MockPackage,
1414
MockTargettedPackage, MockComponent, change_channel_date,
1515
ManifestVersion};
16-
use hyper::Url;
16+
use url::Url;
1717
use scopeguard;
1818

1919
/// The configuration used by the tests in this module

src/rustup-mock/src/dist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//! distribution server, with v1 and v2 manifests.
33
44
use MockInstallerBuilder;
5-
use hyper::Url;
5+
use url::Url;
66
use std::path::{PathBuf, Path};
77
use std::fs::{self, File};
88
use std::collections::HashMap;

src/rustup-mock/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Mocks for testing
22
3-
extern crate hyper;
3+
extern crate url;
44
#[macro_use]
55
extern crate lazy_static;
66
extern crate scopeguard;

0 commit comments

Comments
 (0)