From 5283abdd6441493b7a41181061013f7a5ba296cf Mon Sep 17 00:00:00 2001 From: Jonas Irgens Kylling Date: Sat, 14 Dec 2024 22:48:48 +0100 Subject: [PATCH] Disable default-features of reqwest reqwest is part of default-engine, so is included by default by engines. This enables reqwest with default features, which will include a dependency on openssl. Having a dependency on openssl requires some system libraries to be present in the runtime environment, so it's better to have it be optional. --- kernel/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index a010e0ed7..85c434f71 100644 --- a/kernel/Cargo.toml +++ b/kernel/Cargo.toml @@ -54,7 +54,7 @@ hdfs-native-object-store = { workspace = true, optional = true } # Used in default and sync engine parquet = { workspace = true, optional = true } # Used for fetching direct urls (like pre-signed urls) -reqwest = { version = "0.12.7", optional = true } +reqwest = { version = "0.12.7", default-features=false, optional = true } strum = { version = "0.26", features = ["derive"] }