-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
A-docsArea: documentation.Area: documentation.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.
Description
The docs.rs documentation for HttpConnector with hyper 0.14.1 says:
This is supported on crate feature client and (crate features http1 or http2) only.
As I understand it this seems based on of the following in hyper's lib.rs:
cfg_feature! {
#![all(feature = "client", any(feature = "http1", feature = "http2"))]
pub mod client;
pub use crate::client::Client;
}
But it seems the HttpConnector struct also depends on the tcp feature.
#[cfg(feature = "tcp")]
pub use self::connect::HttpConnector;
I'm not sure how much control you have over this, but would it be possible to fix the doc to show the extra required feature? =)
Metadata
Metadata
Assignees
Labels
A-docsArea: documentation.Area: documentation.E-easyEffort: easy. A task that would be a great starting point for a new contributor.Effort: easy. A task that would be a great starting point for a new contributor.