mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Merge pull request #754 from teloxide/document-rocksdb-feature
Update the feature set with `rocksdb-storage`
This commit is contained in:
commit
b2a4073156
1 changed files with 21 additions and 20 deletions
|
@ -1,27 +1,28 @@
|
||||||
## Cargo features
|
## Cargo features
|
||||||
|
|
||||||
| Feature | Description |
|
| Feature | Description |
|
||||||
|----------------------|--------------------------------------------------------------------------------------------|
|
|----------------------|-------------|
|
||||||
| `webhooks` | Enables general webhook utilities (almost useless on its own) |
|
| `webhooks` | Enables general webhook utilities (almost useless on its own). |
|
||||||
| `webhooks-axum` | Enables webhook implementation based on axum framework |
|
| `webhooks-axum` | Enables webhook implementation based on axum framework. |
|
||||||
| `macros` | Re-exports macros from [`teloxide-macros`]. |
|
| `macros` | Re-exports macros from [`teloxide-macros`]. |
|
||||||
| `ctrlc_handler` | Enables the [`DispatcherBuilder::enable_ctrlc_handler`] function (**enabled by default**). |
|
| `ctrlc_handler` | Enables the [`DispatcherBuilder::enable_ctrlc_handler`] function (**enabled by default**). |
|
||||||
| `auto-send` | Enables the [`AutoSend`](adaptors::AutoSend) bot adaptor (**enabled by default; DEPRECATED**). |
|
| `auto-send` | Enables the [`AutoSend`](adaptors::AutoSend) bot adaptor (**enabled by default; DEPRECATED**). |
|
||||||
| `throttle` | Enables the [`Throttle`](adaptors::Throttle) bot adaptor. |
|
| `throttle` | Enables the [`Throttle`](adaptors::Throttle) bot adaptor. |
|
||||||
| `cache-me` | Enables the [`CacheMe`](adaptors::CacheMe) bot adaptor. |
|
| `cache-me` | Enables the [`CacheMe`](adaptors::CacheMe) bot adaptor. |
|
||||||
| `trace-adaptor` | Enables the [`Trace`](adaptors::Trace) bot adaptor. |
|
| `trace-adaptor` | Enables the [`Trace`](adaptors::Trace) bot adaptor. |
|
||||||
| `erased` | Enables the [`ErasedRequester`](adaptors::ErasedRequester) bot adaptor. |
|
| `erased` | Enables the [`ErasedRequester`](adaptors::ErasedRequester) bot adaptor. |
|
||||||
| `full` | Enables all the features except `nightly`. |
|
| `full` | Enables all the features except `nightly`. |
|
||||||
| `nightly` | Enables nightly-only features (see the [`teloxide-core` features]). |
|
| `nightly` | Enables nightly-only features (see the [`teloxide-core` features]). |
|
||||||
| `native-tls` | Enables the [`native-tls`] TLS implementation (**enabled by default**). |
|
| `native-tls` | Enables the [`native-tls`] TLS implementation (**enabled by default**). |
|
||||||
| `rustls` | Enables the [`rustls`] TLS implementation. |
|
| `rustls` | Enables the [`rustls`] TLS implementation. |
|
||||||
| `redis-storage` | Enables the [Redis] storage support for dialogues. |
|
| `redis-storage` | Enables the [Redis] storage support for dialogues. |
|
||||||
| `sqlite-storage` | Enables the [Sqlite] storage support for dialogues. |
|
| `rocksdb-storage` | Enables the [RocksDB] storage support for dialogues. |
|
||||||
| `cbor-serializer` | Enables the [CBOR] serializer for dialogues. |
|
| `sqlite-storage` | Enables the [Sqlite] storage support for dialogues. |
|
||||||
| `bincode-serializer` | Enables the [Bincode] serializer for dialogues. |
|
| `cbor-serializer` | Enables the [CBOR] serializer for dialogues. |
|
||||||
|
| `bincode-serializer` | Enables the [Bincode] serializer for dialogues. |
|
||||||
|
|
||||||
[Redis]: https://redis.io/
|
[Redis]: https://redis.io/
|
||||||
|
[RocksDB]: https://rocksdb.org/
|
||||||
[Sqlite]: https://www.sqlite.org/
|
[Sqlite]: https://www.sqlite.org/
|
||||||
[CBOR]: https://en.wikipedia.org/wiki/CBOR
|
[CBOR]: https://en.wikipedia.org/wiki/CBOR
|
||||||
[Bincode]: https://github.com/servo/bincode
|
[Bincode]: https://github.com/servo/bincode
|
||||||
|
|
Loading…
Reference in a new issue