fix: prevent depending on aws-lc via reqwest (#1412)

Otherwise the rustls dependency might be built with both aws-lc and ring backends,
leading to the following error in the k2v_client tests when
consul-discovery feature is enabled (including the reqwest dependency):

```
Could not automatically determine the process-level CryptoProvider from Rustls crate features.
Call CryptoProvider::install_default() before this point to select a provider manually, or make sure exactly one of the 'aws-lc-rs' and 'ring' features is enabled.
See the documentation of the CryptoProvider type for more information.
```

Co-authored-by: Yureka <yuka@yuka.dev>
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1412
Reviewed-by: Alex <lx@deuxfleurs.fr>
This commit is contained in:
Yureka
2026-04-20 09:28:21 +00:00
committed by Alex
parent 1dffcca430
commit 7c18abb664
2 changed files with 1 additions and 139 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ kube = { version = "3.0", default-features = false, features = [
] }
schemars = "1.2"
reqwest = { version = "0.13", default-features = false, features = [
"rustls",
"rustls-no-provider",
"json",
] }