From 485f579e4c53f641d7686d2e58ebecd8d880280a Mon Sep 17 00:00:00 2001 From: Emi Tatsuo Date: Mon, 7 Dec 2020 17:32:07 -0500 Subject: [PATCH] Add gemtext feature to docs --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 2cf0042..96f33c1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,6 +23,10 @@ //! users can access certain areas of an application. This is primarily configured using //! the [`Server::ratelimit()`] method. //! +//! * `gemtext` - Adds in integration with the `gemtext` crate, allowing easily creating +//! responses using a builder pattern. Please see the `document` example for a +//! demonstration. This is implied by `serve_dir` or `user_management_routes` +//! //! * `serve_dir` - Adds in utilities for serving files & directories from the disk at //! runtime. The easiest way to use this is to pass a [`PathBuf`] to the //! [`Server::add_route()`] method, which will either serve a directory or a single file.