teloxide/src/features.md
2022-10-07 16:34:42 +06:00

2.7 KiB

Cargo features

Feature Description
webhooks Enables general webhook utilities (almost useless on its own)
webhooks-axum Enables webhook implementation based on axum framework
macros Re-exports macros from teloxide-macros.
ctrlc_handler Enables the DispatcherBuilder::enable_ctrlc_handler function (enabled by default).
auto-send Enables the AutoSend bot adaptor (enabled by default; DEPRECATED).
throttle Enables the Throttle bot adaptor.
cache-me Enables the CacheMe bot adaptor.
trace-adaptor Enables the Trace bot adaptor.
erased Enables the ErasedRequester bot adaptor.
full Enables all the features except nightly.
nightly Enables nightly-only features (see the teloxide-core features).
native-tls Enables the native-tls TLS implementation (enabled by default).
rustls Enables the rustls TLS implementation.
redis-storage Enables the Redis storage support for dialogues.
sqlite-storage Enables the Sqlite storage support for dialogues.
cbor-serializer Enables the CBOR serializer for dialogues.
bincode-serializer Enables the Bincode serializer for dialogues.