aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-04-01 08:41:38 +0000
committerFuwn <[email protected]>2022-04-01 08:41:38 +0000
commitdef9d0d5d7a109f4efc7eed97898b0bf7455c671 (patch)
tree7059f198d6f7a5299cd335e27b635ea3927ac766 /src
parentfix(router): conditional feature args (diff)
downloadwindmark-def9d0d5d7a109f4efc7eed97898b0bf7455c671.tar.xz
windmark-def9d0d5d7a109f4efc7eed97898b0bf7455c671.zip
docs(readme): add modules and capsules section
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs17
1 files changed, 16 insertions, 1 deletions
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<dyn std::error::Error>> {
//! 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)
+//!
+//! - <https://fuwn.me/>
+//!
//! ## License
//!
//! This project is licensed with the