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:
Martin Algesten
2020-06-24 18:37:15 +02:00
committed by GitHub
parent 6bb838f205
commit 4e1e3d1ad4

View File

@@ -11,7 +11,7 @@ categories = ["web-programming::http-client"]
edition = "2018" edition = "2018"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true features = [ "tls", "json", "charset", "cookies", "socks-proxy" ]
[features] [features]
default = ["tls", "cookies"] default = ["tls", "cookies"]