From b16006ec9cc1d35389ede2571370a25d8d5d5156 Mon Sep 17 00:00:00 2001 From: Waffle Date: Tue, 26 Jan 2021 11:56:42 +0300 Subject: [PATCH] document tls features --- src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index cca00141..77c18e96 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -40,6 +40,9 @@ //! //! ## Cargo features //! +//! - `native-tls` = use [`native-tls`] tls implementation (**enabled by +//! default**) +//! - `rustls` — use [`rustls`] tls implementation //! - `auto_send` — enables [`AutoSend`] bot adaptor //! - `throttle` — enables [`Throttle`] bot adaptor //! - `cache_me` — enables [`CacheMe`] bot adaptor @@ -51,6 +54,8 @@ //! [`AutoSend`]: adaptors::AutoSend //! [`Throttle`]: adaptors::Throttle //! [`CacheMe`]: adaptors::CacheMe +//! [`native-tls`]: https://docs.rs/native-tls +//! [`rustls`]: https://docs.rs/rustls #![doc( // FIXME(waffle): use github