Skip to content

Commit 2955842

Browse files
committed
docs: comment on features
1 parent e79d501 commit 2955842

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ tempfile = "3"
8282

8383
[features]
8484
default = ["update_check", "rustls"]
85+
86+
# use rustls as TLS stack
8587
rustls = [
8688
"axum-server/tls-rustls",
8789
"crates_io_api/rustls",
@@ -90,6 +92,8 @@ rustls = [
9092
"tokio-tungstenite/rustls",
9193
"tokio-tungstenite/rustls-tls-native-roots",
9294
]
95+
96+
# use native-tls/openssl as TLS stack
9397
native-tls = [
9498
"axum-server/tls-openssl",
9599
"reqwest/native-tls",

0 commit comments

Comments
 (0)