Cargo Features

[dependencies]
telegram-bot = { version = "0.8.0", default-features = false, features = ["openssl", "rustls"] }
default = openssl

The openssl feature is set by default whenever telegram-bot is added without default-features = false somewhere in the dependency tree.

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.4

hyper-rustls rustls?

Enables hyper-rustls ^0.19