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 在 异步
每月77次下载
46KB
749 行
催化剂
催化剂是一个为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