fluffer 4.0.2

🦊 Fluffer is a fun and experimental gemini server framework.
Documentation
use fluffer::{App, Client};

// NOTE: This requires the `reqwest` feature!

// Here we don't have to unwrap the reqwest.
async fn cat(_: Client) -> reqwest::Result<reqwest::Response> {
	reqwest::get("https://cataas.com/cat").await
}

#[tokio::main]
async fn main() {
	pretty_env_logger::init();
	App::default()
		.route("/", |_| async { "=> /cat 😺 c a t" })
		.route("/cat", cat)
		.run()
		.await
		.unwrap();
}