From 4e1e3d1ad4cf37e18333af4732e3509c6e31e9f9 Mon Sep 17 00:00:00 2001 From: Martin Algesten Date: Wed, 24 Jun 2020 18:37:15 +0200 Subject: [PATCH] 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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 21729d5..56c4829 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"]