Skip to content

Commit

Permalink
Remove hyper dependency from rustup-mock
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed May 6, 2016
1 parent 9a9bb74 commit 13ba54d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/rustup-mock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ homepage = "https://github.com/rust-lang-nursery/rustup.rs"
repository = "https://github.com/rust-lang-nursery/rustup.rs"

[dependencies]
hyper = "0.9.2"
url = "1.1.0"
scopeguard = "0.1.2"
lazy_static = "0.1.15"
walkdir = "0.1.5"
Expand Down
2 changes: 1 addition & 1 deletion src/rustup-mock/src/clitools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use {MockInstallerBuilder, MockCommand};
use dist::{MockDistServer, MockChannel, MockPackage,
MockTargettedPackage, MockComponent, change_channel_date,
ManifestVersion};
use hyper::Url;
use url::Url;
use scopeguard;

/// The configuration used by the tests in this module
Expand Down
2 changes: 1 addition & 1 deletion src/rustup-mock/src/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! distribution server, with v1 and v2 manifests.

use MockInstallerBuilder;
use hyper::Url;
use url::Url;
use std::path::{PathBuf, Path};
use std::fs::{self, File};
use std::collections::HashMap;
Expand Down
2 changes: 1 addition & 1 deletion src/rustup-mock/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Mocks for testing

extern crate hyper;
extern crate url;
#[macro_use]
extern crate lazy_static;
extern crate scopeguard;
Expand Down

0 comments on commit 13ba54d

Please sign in to comment.