Make features to use for docs.rs build explicit (#90)
Since tls and native-tls are mutually exclusive, we can't use all-features anymore. Instead we enumerate the features needed to build the docs for docs.rs.
This commit is contained in:
@@ -11,7 +11,7 @@ categories = ["web-programming::http-client"]
|
||||
edition = "2018"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
features = [ "tls", "json", "charset", "cookies", "socks-proxy" ]
|
||||
|
||||
[features]
|
||||
default = ["tls", "cookies"]
|
||||
|
||||
Reference in New Issue
Block a user