5 releases
new 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 |
#19 in #response-body
296 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
~235–680KB
~16K SLoC