From 8ddefa4f332a0b1dea6d758e7c9b2c18eed46600 Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Thu, 17 Oct 2024 23:27:57 -0400 Subject: [PATCH] Use rustls for TLS --- .gitignore | 2 ++ object-store-rs/Cargo.toml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index 5230954..39e9db2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +*.whl + # Generated by Cargo # will have compiled files and executables debug/ diff --git a/object-store-rs/Cargo.toml b/object-store-rs/Cargo.toml index dea1bd4..eae4d4b 100644 --- a/object-store-rs/Cargo.toml +++ b/object-store-rs/Cargo.toml @@ -34,3 +34,8 @@ tokio = { workspace = true, features = [ "sync", ] } url = { workspace = true } + +# We opt-in to using rustls as the TLS provider for reqwest, which is the HTTP +# library used by object_store. +# https://github.com/seanmonstar/reqwest/issues/2025 +reqwest = { version = "*", features = ["rustls-tls-native-roots"] }