5 releases
0.1.10 | Oct 22, 2024 |
---|---|
0.1.8 | Oct 21, 2024 |
0.1.7 | Aug 20, 2024 |
0.1.6 | May 10, 2024 |
0.1.5 | May 8, 2024 |
#21 in #response-body
345 downloads per month
Used in fastedge
5KB
Derive proc macro #fastedge::main
Sample example
use fastedge::http::{Error, Request, Response, StatusCode};
use fastedge::hyper::body::Body;
#[fastedge::main]
fn main(req: Request<Body>) -> Result<Response<Body>, Error> {
Response::builder().status(StatusCode::OK).body(Body::empty())
}
Dependencies
~225–670KB
~16K SLoC