From a8f86e48d61cef80eff6e4a97d2fbc2ad8c80d30 Mon Sep 17 00:00:00 2001 From: Luke Seelenbinder Date: Tue, 13 Feb 2024 18:53:44 +0200 Subject: [PATCH] Restore proper support for `s3-async-rustls`. (#33) --- Cargo.toml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f69e500..162f5ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pmtiles" -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = ["Luke Seelenbinder "] license = "MIT OR Apache-2.0" @@ -14,8 +14,8 @@ categories = ["science::geo"] default = [] http-async = ["__async", "dep:reqwest"] mmap-async-tokio = ["__async", "dep:fmmap", "fmmap?/tokio-async"] -s3-async-native = ["__async-s3"] -s3-async-rustls = ["__async-s3"] +s3-async-native = ["__async-s3", "__async-s3-nativetls"] +s3-async-rustls = ["__async-s3", "__async-s3-rustls"] tilejson = ["dep:tilejson", "dep:serde", "dep:serde_json"] # Forward some of the common features to reqwest dependency @@ -27,7 +27,9 @@ reqwest-rustls-tls-native-roots = ["reqwest?/rustls-tls-native-roots"] # Internal features, do not use __async = ["dep:tokio", "async-compression/tokio"] -__async-s3 = ["__async", "dep:rust-s3", "rust-s3?/tokio-native-tls"] +__async-s3 = ["__async", "dep:rust-s3"] +__async-s3-nativetls = ["rust-s3?/tokio-native-tls"] +__async-s3-rustls = ["rust-s3?/tokio-rustls-tls"] [dependencies] # TODO: determine how we want to handle compression in async & sync environments