An open API service indexing awesome lists of open source software.

https://github.com/chen-dk/puzz

A simple and powerful web framework.
https://github.com/chen-dk/puzz

async framework http rust

Last synced: 9 months ago
JSON representation

A simple and powerful web framework.

Awesome Lists containing this project

README

          


Puzz


一个简单且强大的网络框架

## 例子

```rust
use puzz::{service_fn, Server};

#[tokio::main]
async fn main() {
Server::new(|| service_fn(|_| async { Ok("Hello, World!!!") }))
.bind(([127, 0, 0, 1], 80))
.run()
.await
.unwrap();
}
```