7 releases

new 0.1.6 Feb 17, 2025
0.1.5 Feb 9, 2025

#1952 in Network programming

Download history 453/week @ 2025-02-05 116/week @ 2025-02-12

569 downloads per month

Custom license

21KB
544 lines

ekerö

a rust crate for simple http routing

let mut app = App::new("0.0.0.0:8000", 20, ());

app.get("/ping", |_ctx| {
    Ok(Response::new()
        .body("pong")
        .status_code(202)
        .header("Content-Type", "text/plain"))
});

app.poll_forever()

you can find a big example for ekerö here.

Dependencies

~210KB