Cargo Features
[dependencies]
pw-telegram-bot-fork = { version = "0.9.2", default-features = false, features = ["openssl", "rustls"] }
- default = openssl
-
The
openssl
feature is set by default wheneverpw-telegram-bot-fork
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