From 65258054c4b08427ec12e95cdaff8feb53a4c5d0 Mon Sep 17 00:00:00 2001 From: omjadas Date: Sun, 17 Apr 2022 11:12:11 +1000 Subject: [PATCH] test: specify decoder feature as required for integration tests --- Cargo.toml | 4 ++-- tests/common/mod.rs | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4fe5978..8bf7106 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,11 +73,11 @@ required-features = ["openssl-certs", "rustls-client"] [[test]] name = "openssl_ca" -required-features = ["decoder", "openssl-certs"] +required-features = ["decoder", "openssl-certs", "decoder"] [[test]] name = "rcgen_ca" -required-features = ["decoder", "rcgen-certs"] +required-features = ["decoder", "rcgen-certs", "decoder"] [[bench]] name = "certificate_authorities" diff --git a/tests/common/mod.rs b/tests/common/mod.rs index aae67fc..1b3b38d 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -155,6 +155,9 @@ pub fn build_client(proxy: &str) -> reqwest::Client { reqwest::Client::builder() .proxy(proxy) .add_root_certificate(ca_cert) + .no_brotli() + .no_deflate() + .no_gzip() .build() .unwrap() }