Add a feature for rustls + native certs

This just propagates reqwest/rustls-tls-native-roots.
This commit is contained in:
Ilya Bizyaev 2024-07-09 23:29:39 +02:00
parent 07a5d33709
commit 07f02e6d0c
No known key found for this signature in database
GPG key ID: 29AACC9F9F66C5B4
2 changed files with 2 additions and 0 deletions

View file

@ -22,6 +22,7 @@ categories = ["api-bindings", "asynchronous"]
default = ["native-tls"]
rustls = ["reqwest/rustls-tls"]
rustls-native-roots = ["reqwest/rustls-tls-native-roots"]
native-tls = ["reqwest/native-tls"]
# Features which require nightly compiler.

View file

@ -42,6 +42,7 @@ ctrlc_handler = ["tokio/signal"]
native-tls = ["teloxide-core/native-tls"]
rustls = ["teloxide-core/rustls"]
rustls-native-roots = ["teloxide-core/rustls-native-roots"]
throttle = ["teloxide-core/throttle"]
cache-me = [
"teloxide-core/cache_me",