Skip to content

Commit

Permalink
Merge pull request #532 from inejge/re-hyper
Browse files Browse the repository at this point in the history
Bring back hyper with proxy support
  • Loading branch information
brson authored Jun 20, 2016
2 parents c7fc118 + 6ca277d commit 090f9c8
Show file tree
Hide file tree
Showing 7 changed files with 518 additions and 0 deletions.
231 changes: 231 additions & 0 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ test = false # no unit tests
name = "rustup-init"
path = "src/rustup-cli/main.rs"
test = false # no unit tests

[replace]
"winapi:0.2.7" = { git = "https://github.com/sfackler/winapi-rs" }
3 changes: 3 additions & 0 deletions src/rustup-dist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ libc = "0.2.0"

[lib]
name = "rustup_dist"

[replace]
"winapi:0.2.7" = { git = "https://github.com/sfackler/winapi-rs" }
3 changes: 3 additions & 0 deletions src/rustup-mock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ sha2 = "0.1.2"
[target."cfg(windows)".dependencies]
winapi = "0.2.4"
winreg = "0.3.2"

[replace]
"winapi:0.2.7" = { git = "https://github.com/sfackler/winapi-rs" }
11 changes: 11 additions & 0 deletions src/rustup-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ sha2 = "0.1.2"
curl = "0.3"
url = "1.1"
toml = "0.1.27"
native-tls = { git = "https://github.com/sfackler/rust-native-tls.git" }

[target.'cfg(not(any(target_os = "windows", target_os = "macos")))'.dependencies]
openssl-sys = "0.7.11"

[dependencies.hyper]
version = "0.9.8"
default-features = false

[target."cfg(windows)".dependencies]
winapi = "0.2.4"
Expand All @@ -30,3 +38,6 @@ ole32-sys = "0.2.0"
kernel32-sys = "0.2.1"
advapi32-sys = "0.2.0"
userenv-sys = "0.2.0"

[replace]
"winapi:0.2.7" = { git = "https://github.com/sfackler/winapi-rs" }
4 changes: 4 additions & 0 deletions src/rustup-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ extern crate rustc_serialize;
extern crate sha2;
extern crate url;
extern crate toml;
extern crate hyper;
extern crate native_tls;
#[cfg(not(any(target_os = "windows", target_os = "macos")))]
extern crate openssl_sys;

#[cfg(windows)]
extern crate winapi;
Expand Down
Loading

0 comments on commit 090f9c8

Please sign in to comment.