document tls features

This commit is contained in:
Waffle 2021-01-26 11:56:42 +03:00
parent 53f1c6d4d3
commit b16006ec9c

View file

@ -40,6 +40,9 @@
//! //!
//! ## Cargo features //! ## Cargo features
//! //!
//! - `native-tls` = use [`native-tls`] tls implementation (**enabled by
//! default**)
//! - `rustls` — use [`rustls`] tls implementation
//! - `auto_send` — enables [`AutoSend`] bot adaptor //! - `auto_send` — enables [`AutoSend`] bot adaptor
//! - `throttle` — enables [`Throttle`] bot adaptor //! - `throttle` — enables [`Throttle`] bot adaptor
//! - `cache_me` — enables [`CacheMe`] bot adaptor //! - `cache_me` — enables [`CacheMe`] bot adaptor
@ -51,6 +54,8 @@
//! [`AutoSend`]: adaptors::AutoSend //! [`AutoSend`]: adaptors::AutoSend
//! [`Throttle`]: adaptors::Throttle //! [`Throttle`]: adaptors::Throttle
//! [`CacheMe`]: adaptors::CacheMe //! [`CacheMe`]: adaptors::CacheMe
//! [`native-tls`]: https://docs.rs/native-tls
//! [`rustls`]: https://docs.rs/rustls
#![doc( #![doc(
// FIXME(waffle): use github // FIXME(waffle): use github