From 2caa45b9f5543bdfb4ab9c4d116d10598dc34192 Mon Sep 17 00:00:00 2001 From: Cosmic Horror Date: Wed, 12 Feb 2025 14:52:37 -0700 Subject: [PATCH] fix: Disable `reqwest`'s default-tls feature --- Cargo.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 562b2804..e264ee62 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,13 +24,22 @@ rustls-tls = ["reqwest/rustls-tls"] [dependencies] chrono = "0.4.39" -reqwest = { version = "0.12.12", features = ["json"] } hex = "0.4.3" serde = { version = "1.0.217", features = ["derive"] } serde_json = "1.0.135" # Used to access some functionality that isn't directly rexposed by `reqwest` url = { version = "2.5.4", features = ["serde"] } +[dependencies.reqwest] +version = "0.12.12" +default-features = false +features = [ + "charset", + "http2", + "json", + "macos-system-configuration", +] + [dev-dependencies] insta = { version = "1.42.0", features = ["json"] }