fastedge-derive 0.3.2

FastEdge Rust SDK that helps you to create edge cloud application using WASM
Documentation
1
2
3
4
5
6
7
8
9
10
11
# Derive proc macro #[fastedge::main]
## Sample example
```rust
 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())
 }
```