Merge pull request #1089 from IlyaBizyaev/build/rustls-native-roots

Add a feature for rustls + native certs
This commit is contained in:
Waffle Maybe 2024-07-10 16:24:42 +00:00 committed by GitHub
commit 08a3243685
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

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

View file

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