puzz

Crates.iopuzz
lib.rspuzz
version0.2.0
sourcesrc
created_at2022-05-17 06:47:28.487805
updated_at2022-05-31 06:25:58.967293
descriptionA simple and powerful web framework.
homepage
repositoryhttps://github.com/chen-dk/puzz
max_upload_size
id588184
size15,664
(chen-dk)

documentation

README

Puzz

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

例子

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();
}
Commit count: 5

cargo fmt