4个版本

0.1.3 2024年4月5日
0.1.2 2024年4月4日
0.1.1 2024年4月4日
0.1.0 2024年4月4日

#1129异步

Download history 11/week @ 2024-04-08

每月77次下载

自定义许可证

46KB
749

catalyzer-logo

催化剂

催化剂是一个为Rust设计的简单易用的Web框架。

示例

use catalyzer::*;

#[main]
fn main() {
    App![index]
        .bind("0.0.0.0:3000")?
        .launch()
}

#[get("/")]
fn index() {
    "Hello, World!"
}

lib.rs:

催化剂是一个为Rust设计的简单易用的Web框架。

示例

use catalyzer::*;

#[main]
fn main() {
    App![index]
        .bind("0.0.0.0:3000")?
        .launch()
}

#[get("/")]
fn index() {
    "Hello, world!"
}

依赖项

~6–15MB
~179K SLoC