mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 15:01:45 +01:00
a8306ec3ff
Co-authored-by: Hirrolot <hirrolot@gmail.com>
27 lines
1.4 KiB
Text
27 lines
1.4 KiB
Text
## Cargo features
|
|
|
|
| Feature | Description |
|
|
|----------|----------|
|
|
| `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. |
|
|
| `macros` | Re-exports macros from [`teloxide-macros`]. |
|
|
| `native-tls` | Enables the [`native-tls`] TLS implementation (enabled by default). |
|
|
| `rustls` | Enables the [`rustls`] TLS implementation. |
|
|
| `ctrlc_handler` | Enables the [`Dispatcher::setup_ctrlc_handler`](dispatching::Dispatcher::setup_ctrlc_handler) function. |
|
|
| `auto-send` | Enables the `AutoSend` bot adaptor. |
|
|
| `cache-me` | Enables the `CacheMe` bot adaptor. |
|
|
| `frunk` | Enables [`teloxide::utils::UpState`]. |
|
|
| `full` | Enables all the features except `nightly`. |
|
|
| `nightly` | Enables nightly-only features (see the [teloxide-core features]). |
|
|
|
|
[Redis]: https://redis.io/
|
|
[Sqlite]: https://www.sqlite.org/
|
|
[CBOR]: https://en.wikipedia.org/wiki/CBOR
|
|
[Bincode]: https://github.com/servo/bincode
|
|
[`teloxide-macros`]: https://github.com/teloxide/teloxide-macros
|
|
[`native-tls`]: https://docs.rs/native-tls
|
|
[`rustls`]: https://docs.rs/rustls
|
|
[`teloxide::utils::UpState`]: utils::UpState
|
|
[teloxide-core features]: https://docs.rs/teloxide-core/latest/teloxide_core/#cargo-features
|