Cargo Features

tbot = { version = "0.6.7", default-features = false, features = ["proxy", "rustls", "tls"] }
default = tls

The tls feature is set by default whenever tbot is added without default-features = false somewhere in the dependency tree.

rustls = hyper-rustls, tokio-rustls

Enables rustls of hyper-proxy ^0.6

tls default = hyper-tls, native-tls, tokio-tls

Enables tls of hyper-proxy ^0.6

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

hyper-tls tls

Enables hyper-tls ^0.4

tokio-tls tls
native-tls tls
hyper-rustls rustls?

Enables default (tokio-runtime) of hyper-rustls ^0.19

tokio-rustls rustls?

Enables tokio-rustls ^0.12