60 releases

new 0.5.4 Dec 3, 2025
0.5.3 Nov 15, 2025
0.5.2 Oct 15, 2025
0.5.0 Jul 11, 2025
0.2.0-alpha.0 Mar 29, 2021

#1184 in HTTP server


Used in 2 crates

MIT license

200KB
3.5K SLoC

Cataclysm: A simple http framework

Cataclysm is a small personal project, an http framework influenced by actix-web, and built over tokio. A minimal working example is the following

extern crate cataclysm;

use cataclysm::{Server, Branch, http::{Response, Method}};

async fn index() -> Response {
    Response::ok().body("Hello, World!")
}

#[tokio::main]
async fn main() {
    let server = Server::builder(
        Branch::<()>::new("/").with(Method::Get.to(index))
    ).build().unwrap();

    server.run("localhost:8000").await.unwrap();
}

Dependencies

~12–19MB
~329K SLoC