Add gemtext feature to docs
This commit is contained in:
parent
9ec1a5663d
commit
485f579e4c
|
@ -23,6 +23,10 @@
|
||||||
//! users can access certain areas of an application. This is primarily configured using
|
//! users can access certain areas of an application. This is primarily configured using
|
||||||
//! the [`Server::ratelimit()`] method.
|
//! 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
|
//! * `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
|
//! 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.
|
//! [`Server::add_route()`] method, which will either serve a directory or a single file.
|
||||||
|
|
Loading…
Reference in a new issue