Skip to content

Commit

Permalink
WIP load TLS certificates from the OS native root store
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Oct 16, 2020
1 parent be7dcce commit 7fb4e77
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 23 deletions.
73 changes: 52 additions & 21 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions download/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ default = ["reqwest-backend", "reqwest-rustls-tls", "reqwest-default-tls"]
curl-backend = ["curl"]
reqwest-backend = ["reqwest", "env_proxy", "lazy_static"]
reqwest-default-tls = ["reqwest/default-tls"]
reqwest-rustls-tls = ["reqwest/rustls-tls"]
reqwest-rustls-tls = ["reqwest/rustls-tls-native-roots"]

[dependencies]
error-chain = "0.12"
url = "2.1"
curl = { version = "0.4.11", optional = true }
env_proxy = { version = "0.4.1", optional = true }
lazy_static = { version = "1.0", optional = true }
reqwest = { version = "0.10", default-features = false, features = ["blocking", "gzip", "socks"], optional = true }
reqwest = { git = "https://github.com/est31/reqwest/", branch = "rustls-roots", default-features = false, features = ["blocking", "gzip", "socks"], optional = true }

[dev-dependencies]
hyper = { version = "0.13", default-features = false, features = ["tcp"] }
Expand Down

0 comments on commit 7fb4e77

Please sign in to comment.