56 releases

new 0.5.0 Jul 11, 2025
0.5.0-beta.1 Mar 25, 2025
0.4.0-beta.5 Mar 24, 2025
0.4.0-beta.3 Dec 26, 2024
0.2.0-alpha.0 Mar 29, 2021

#667 in HTTP server

Download history 57/week @ 2025-03-15 274/week @ 2025-03-22 35/week @ 2025-03-29 2/week @ 2025-04-05 2/week @ 2025-04-12 1/week @ 2025-04-19 1/week @ 2025-05-03 20/week @ 2025-05-10 20/week @ 2025-05-17

3,097 downloads per month
Used in 2 crates

MIT license

185KB
3K 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

~17–28MB
~500K SLoC