use current hyper for now

This commit is contained in:
Sean McArthur
2016-10-16 10:26:04 -07:00
parent d78eff6918
commit 15e59c1c6d
5 changed files with 23 additions and 271 deletions

View File

@@ -5,7 +5,11 @@ extern crate hyper;
#[macro_use] extern crate log;
pub use hyper::{Method, StatusCode, header, Url};
pub use hyper::header;
pub use hyper::method::Method;
pub use hyper::status::StatusCode;
pub use hyper::version::HttpVersion;
pub use hyper::Url;
pub use self::client::{Client, Response};
pub use self::error::{Error, Result};
@@ -13,7 +17,6 @@ pub use self::error::{Error, Result};
mod body;
mod client;
mod error;
mod sync;
pub fn get(url: &str) -> ::Result<Response> {
let client = Client::new();