Skip to content

Commit 2ba35ff

Browse files
authored
Add support for rustls-webpki-roots (#168)
1 parent 460f00a commit 2ba35ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

async-openai/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ repository = "https://github.com/64bit/async-openai"
1818
default = ["rustls"]
1919
# Enable rustls for TLS support
2020
rustls = ["reqwest/rustls-tls-native-roots"]
21+
# Enable rustls and webpki-roots
22+
rustls-webpki-roots = ["reqwest/rustls-tls-webpki-roots"]
2123
# Enable native-tls for TLS support
2224
native-tls = ["reqwest/native-tls"]
2325
# Remove dependency on OpenSSL

0 commit comments

Comments
 (0)