use current hyper for now
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user