Skip to content

Conversation

@brson
Copy link
Contributor

@brson brson commented Jul 10, 2016

This moves the download_file function from rustup_utils::raw to rustup_utils::download and pulls hashing and disk writing responsibilities out of the two implementations (curl and hyper).

This is in anticipation of adding a third implementation.

I have ambitions of pulling this file out into its own crate, as both a useful utility and teaching tool.

r? @alexcrichton

@alexcrichton alexcrichton merged commit 7f6b546 into rust-lang:master Jul 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants