mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-07-26 07:58:14 +00:00
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:
+1
-1
@@ -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",
|
||||
] }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user