k2v-client: Add support for native TLS library #560

Closed
jirutka wants to merge 2 commits from jirutka/garage:k2v-native-tls into main
2 changed files with 5 additions and 4 deletions
Showing only changes of commit 9d08458ebf - Show all commits

1
Cargo.lock generated
View file

@ -292,6 +292,7 @@ dependencies = [
"http-body",
"hyper",
"hyper-rustls 0.22.1",
"hyper-tls",
"lazy_static",
"pin-project-lite",
"tokio",

View file

@ -59,7 +59,7 @@ opentelemetry-otlp = { version = "0.10", optional = true }
prometheus = { version = "0.13", optional = true }
[dev-dependencies]
aws-sdk-s3 = "0.19"
aws-sdk-s3 = { version = "0.19", default-features = false, features = ["rt-tokio"] }
chrono = "0.4"
http = "0.2"
hmac = "0.12"
@ -95,6 +95,6 @@ telemetry-otlp = [ "opentelemetry-otlp" ]
# exactly one of them should be enabled.
# Use bundled libsqlite instead of linking against system-provided.
bundled-libs = [ "garage_db/bundled-libs" ]
# Link against system-provided libsodium and libzstd.
system-libs = [ "garage_block/system-libs", "garage_rpc/system-libs", "sodiumoxide/use-pkg-config" ]
bundled-libs = [ "garage_db/bundled-libs", "aws-sdk-s3/rustls" ]
# Link against system-provided libsodium, libzstd and TLS library.
system-libs = [ "garage_block/system-libs", "garage_rpc/system-libs", "sodiumoxide/use-pkg-config", "aws-sdk-s3/native-tls" ]