Crates.io | fastedge-derive |
lib.rs | fastedge-derive |
version | 0.1.10 |
source | src |
created_at | 2024-05-08 12:35:46.653735 |
updated_at | 2024-10-22 10:41:46.131341 |
description | FastEdge Rust SDK that helps you to create edge cloud application using WASM |
homepage | |
repository | https://github.com/G-Core/FastEdge-sdk-rust.git |
max_upload_size | |
id | 1233747 |
size | 4,769 |
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())
}