feat(client): Make client an optional feature
				
					
				
			cc #2223 BREAKING CHANGE: The HTTP client of hyper is now an optional feature. To enable the client, add `features = ["client"]` to the dependency in your `Cargo.toml`.
This commit is contained in:
		| @@ -62,7 +62,7 @@ use http::{Method, Request, Response, Uri, Version}; | ||||
| use self::connect::{sealed::Connect, Alpn, Connected, Connection}; | ||||
| use self::pool::{Key as PoolKey, Pool, Poolable, Pooled, Reservation}; | ||||
| use crate::body::{Body, HttpBody}; | ||||
| use crate::common::{lazy as hyper_lazy, task, BoxSendFuture, Future, Lazy, Pin, Poll}; | ||||
| use crate::common::{lazy as hyper_lazy, task, exec::BoxSendFuture, Future, Lazy, Pin, Poll}; | ||||
| use crate::rt::Executor; | ||||
|  | ||||
| #[cfg(feature = "tcp")] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user