Skip to content

Commit

Permalink
Require reqwest feature rustls-tls-native-roots
Browse files Browse the repository at this point in the history
This uses the system's trust roots, rather than those from WebPKI. This
is important for enterprise users, where additional enterprise-specific
roots may be defined on the system.
  • Loading branch information
djmitche committed Sep 17, 2024
1 parent d75ef7f commit 9425672
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
52 changes: 52 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/taskchampion-cpp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ crate-type = ["staticlib"]
[dependencies]
taskchampion = "0.7.0"
cxx = "1.0.124"
# Not used directly, but adds the native-roots feature. #3625.
reqwest = { version = ">= 0.11.27", default-features = false, features = ["rustls-tls-native-roots"] }

[build-dependencies]
cxx-build = "1.0"

0 comments on commit 9425672

Please sign in to comment.