Skip to content

Commit

Permalink
docs: comment on features
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Mar 13, 2024
1 parent e79d501 commit 2955842
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ tempfile = "3"

[features]
default = ["update_check", "rustls"]

# use rustls as TLS stack
rustls = [
"axum-server/tls-rustls",
"crates_io_api/rustls",
Expand All @@ -90,6 +92,8 @@ rustls = [
"tokio-tungstenite/rustls",
"tokio-tungstenite/rustls-tls-native-roots",
]

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

0 comments on commit 2955842

Please sign in to comment.