Skip to content

Commit

Permalink
Change Rustls to be the default
Browse files Browse the repository at this point in the history
  • Loading branch information
stefnotch committed Dec 19, 2024
1 parent 52ae7a9 commit 3cc09ec
Show file tree
Hide file tree
Showing 2 changed files with 152 additions and 2 deletions.
143 changes: 142 additions & 1 deletion Cargo.lock

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

11 changes: 10 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ tempfile = "3"
rstest = "0.23"

[features]
default = ["update_check", "native-tls"]
default = ["update_check", "rustls"]

# use rustls as TLS stack
rustls = [
Expand All @@ -104,6 +104,15 @@ rustls = [
"tokio-tungstenite/rustls-tls-native-roots",
]

rustls-awc-lc = [
"axum-server/tls-rustls",
"crates_io_api/rustls",
"reqwest/rustls-tls",
"reqwest/rustls-tls-native-roots",
"tokio-tungstenite/rustls",
"tokio-tungstenite/rustls-tls-native-roots",
]

# use native-tls/openssl as TLS stack
native-tls = [
"openssl",
Expand Down

0 comments on commit 3cc09ec

Please sign in to comment.