From def9d0d5d7a109f4efc7eed97898b0bf7455c671 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 1 Apr 2022 08:41:38 +0000 Subject: docs(readme): add modules and capsules section --- src/lib.rs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index e5e6977..ce6592d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -50,7 +50,7 @@ //! fn main() -> Result<(), Box> { //! windmark::Router::new() //! .set_private_key_file("windmark_private.pem") -//! .set_certificate_file("windmark_public.pem") +//! .set_certificate_chain_file("windmark_public.pem") //! .mount("/", Box::new(|_| Response::Success("Hello, World!".into()))) //! .set_error_handler(Box::new(|_| { //! Response::PermanentFailure("This route does not exist!".into()) @@ -65,6 +65,21 @@ //! Examples can be found within the //! [`examples/`](https://github.com/gemrest/windmark/tree/main/examples) directory. //! +//! ## Modules +//! +//! Modules are reusable extensions which can be procedurally mounted onto +//! Windmark routers. +//! +//! [Add yours!](https://github.com/gemrest/windmark/edit/main/README.md) +//! +//! - [Windmark Comments](https://github.com/gemrest/windmark-comments) +//! +//! ## Capsules using Windmark +//! +//! [Add yours!](https://github.com/gemrest/windmark/edit/main/README.md) +//! +//! - +//! //! ## License //! //! This project is licensed with the -- cgit v1.2.3