Cargo Features
[dependencies]
telegram-bot-ars = { version = "0.9.1", default-features = false, features = ["openssl", "rustls"] }
- default = openssl
-
The
openssl
feature is set by default whenevertelegram-bot-ars
is added without
somewhere in the dependency tree.default-features = false - openssl default = hyper-tls
- rustls = hyper-rustls
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- hyper-tls openssl
-
Enables hyper-tls ^0.5
- hyper-rustls rustls?
-
Enables hyper-rustls ^0.22