Windmark
Windmark is an elegant and highly performant, async Gemini server framework for the modern age!
Usage
Add Windmark as a dependency
# Cargo.toml
[]
= "0.1.12"
= { = "0.2.4", = ["full"] }
# If you would like to use the built-in logger (recommended)
# windmark = { version = "0.1.12", features = ["logger"] }
# If you would like to use the built-in MIME dedection when `Success`-ing a file
# (recommended)
# windmark = { version = "0.1.12", features = ["auto-deduce-mime"] }
Implement a Windmark server
// src/main.rs
use Response;
Examples
Examples can be found within the
examples/ directory.
An example of a fully featured Gemini capsule written using Windmark can be found here. This example Gemini capsule also happens to be the source code for Fuwn's (this library's author) personal Gemini capsule!
Modules
Modules are reusable extensions which can be procedurally mounted onto Windmark routers.
Capsules using Windmark
License
This project is licensed with the GNU General Public License v3.0.