From 56f56f04aac74f58e1991c905ab7ff286ea84f76 Mon Sep 17 00:00:00 2001 From: krant Date: Tue, 7 Nov 2023 13:31:56 +0200 Subject: [PATCH] Remove unused features from reqwest --- Cargo.toml | 2 +- src/browser.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ff022b38..40734892 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,7 @@ tracing = "0.1" pin-project-lite = "0.2" dunce = "1" bytes = { version = "1.4.0", features = ["serde"], optional = true } -reqwest = { version = "0.11.20", features = [ "brotli", "gzip", "deflate", "native-tls-alpn", "stream" ] } +reqwest = { version = "0.11.20", default-features = false } [target.'cfg(windows)'.dependencies] winreg = "0.51" diff --git a/src/browser.rs b/src/browser.rs index 5f61fd49..17dac756 100644 --- a/src/browser.rs +++ b/src/browser.rs @@ -85,7 +85,7 @@ impl Browser { // Connect to an already running chromium instance with a given `HandlerConfig`. /// - /// If the URL is a http(s) URL, it will first attempt to retrieve the Websocket URL from the `json/version` endpoint. + /// If the URL is a http URL, it will first attempt to retrieve the Websocket URL from the `json/version` endpoint. pub async fn connect_with_config( url: impl Into, config: HandlerConfig,