Skip to content

Commit

Permalink
Merge pull request #31 from jwodder/rustls-native
Browse files Browse the repository at this point in the history
Use rustls + native-certs with reqwest
  • Loading branch information
jwodder authored Jan 30, 2024
2 parents 5342c25 + 6ed5fe0 commit de32cc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 132 deletions.
136 changes: 5 additions & 131 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ futures-util = "0.3.30"
indoc = "2.0.4"
lru = "0.12.2"
percent-encoding = "2.3.1"
reqwest = { version = "0.11.23", features = ["json"] }
reqwest = { version = "0.11.23", default-features = false, features = ["json", "rustls-tls-native-roots"] }
serde = { version = "1.0.196", features = ["derive"] }
serde_json = { version = "1.0.113", features = ["preserve_order"] }
serde_yaml = "0.9.31"
Expand Down

0 comments on commit de32cc2

Please sign in to comment.