mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Merge pull request #1089 from IlyaBizyaev/build/rustls-native-roots
Add a feature for rustls + native certs
This commit is contained in:
commit
08a3243685
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