mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Add a feature for rustls + native certs
This just propagates reqwest/rustls-tls-native-roots.
This commit is contained in:
parent
07a5d33709
commit
07f02e6d0c
2 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue