Cargo Features
[dependencies]
tbot = { version = "0.6.7", default-features = false, features = ["proxy", "rustls", "tls"] }
- default = tls
-
The
tls
feature is set by default whenevertbot
is added without
somewhere in the dependency tree.default-features = false - proxy
- 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. These features may have been created by mistake, and this functionality may be removed in the future.
- hyper-tls tls
-
Enables hyper-tls ^0.4
- tokio-tls tls
- native-tls tls
- hyper-rustls rustls?
-
Enables hyper-rustls ^0.19
- tokio-rustls rustls?
-
Enables tokio-rustls ^0.12