remote tokio-core dependency
This commit is contained in:
		| @@ -29,26 +29,6 @@ static DEFAULT_USER_AGENT: &'static str = | ||||
| /// | ||||
| /// The `Client` holds a connection pool internally, so it is advised that | ||||
| /// you create one and **reuse** it. | ||||
| /// | ||||
| /// # Examples | ||||
| /// | ||||
| /// ```rust | ||||
| /// # #[cfg(features = "unstable")] | ||||
| /// # fn run() -> Result<(), Box<::std::error::Error>> { | ||||
| /// # extern crate tokio_core; | ||||
| /// # extern crate futures; | ||||
| /// use futures::Future; | ||||
| /// use tokio_core::reactor::Core; | ||||
| /// use reqwest::unstable::async::Client; | ||||
| /// | ||||
| /// let mut core = Core::new()?; | ||||
| /// let client = Client::new(&core.handle()); | ||||
| /// let fut = client.get("http://httpbin.org/").send(); | ||||
| /// core.run(fut)?; | ||||
| /// #   Ok(()) | ||||
| /// # } | ||||
| /// # fn main() {} | ||||
| /// ``` | ||||
|  | ||||
| #[derive(Clone)] | ||||
| pub struct Client { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user