summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim de Jager <tdejager89@gmail.com>2023-09-07 10:55:44 +0200
committerGitHub <noreply@github.com>2023-09-07 10:55:44 +0200
commit42a6822da818fd5a1253c35dcde89b010478a9a4 (patch)
tree7e34803de4b1d865eb0fe51e04b37d92e8ce08df
parentf236cedabb9fc05e8892aca18b79fcc4dee8febf (diff)
parent40ef2cd17bc21581a8e797def833feefcb2eee65 (diff)
Merge pull request #310 from baszalmstra/feat/enable_local_certificate_store
feat: enable use of os certificate store
-rw-r--r--Cargo.lock13
-rw-r--r--Cargo.toml2
2 files changed, 14 insertions, 1 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 9f18065..b4d644d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2539,6 +2539,7 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"rustls",
+ "rustls-native-certs",
"rustls-pemfile",
"serde",
"serde_json",
@@ -2629,6 +2630,18 @@ dependencies = [
]
[[package]]
+name = "rustls-native-certs"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00"
+dependencies = [
+ "openssl-probe",
+ "rustls-pemfile",
+ "schannel",
+ "security-framework",
+]
+
+[[package]]
name = "rustls-pemfile"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index 55aab3e..1cd4e7e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,7 +12,7 @@ readme = "README.md"
[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls", "rattler_repodata_gateway/native-tls", "rattler/native-tls"]
-rustls-tls = ["reqwest/rustls-tls", "rattler_repodata_gateway/rustls-tls", "rattler/rustls-tls"]
+rustls-tls = ["reqwest/rustls-tls", "reqwest/rustls-tls-native-roots", "rattler_repodata_gateway/rustls-tls", "rattler/rustls-tls"]
slow_integration_tests = []
[dependencies]