| Crates.io | ekero |
| lib.rs | ekero |
| version | 0.1.6 |
| created_at | 2025-02-07 17:16:59.304409+00 |
| updated_at | 2025-02-17 11:10:44.170809+00 |
| description | simple http routing |
| homepage | |
| repository | https://github.com/rosewareorg/ekero |
| max_upload_size | |
| id | 1547213 |
| size | 60,459 |
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.