issues
search
hhstore
/
blog
My Tech Blog: about Mojo / Rust / Golang / Python / Kotlin / Flutter / VueJS / Blockchain etc.
https://github.com/hhstore/blog/issues
294
stars
24
forks
source link
Rust: Web Framework - Axum
#371
Open
hhstore
opened
2 years ago
hhstore
commented
2 years ago
related:
[x] #370
[x] #364
[x] #347
hhstore
commented
2 years ago
Axum:
说明:
current: 2022-06-30.
实际使用体感:
当前, 不推荐使用. (生态比较差,完整度很低). 优先使用 Rocket.
与 db/cache/mq 等各种中间件集成, 都比较麻烦. 社区也缺乏生产级别的项目实践.
可以持续关注. 但不应作为生产方案.
官方:
https://github.com/tokio-rs/axum
特点:
异步, 性能好
基于 tokio, tokio 官方出品.
简陋. 插件丰富度很低.
文档差, 只能看官方示例学习.
官方示例:
https://github.com/tokio-rs/axum/blob/main/examples/Cargo.toml
ref:
https://axum.rs/subject
https://axum.rs/subject/roaming-axum
hhstore
commented
2 years ago
Axum 实践项目:
https://github.com/tokio-rs/axum/blob/main/ECOSYSTEM.md
axum 官方统计
https://github.com/topics/axum
推荐: ⭐⭐⭐⭐
https://gitee.com/stringlxd/cassie_axum
https://github.com/AxumCourse/axum-with-seaorm
其他:
https://github.com/svix/svix-webhooks/blob/main/server/svix-server/src/v1/endpoints/attempt.rs#L200
https://github.com/ndelvalle/rustapi/blob/master/src/routes/cat.rs#L19
https://github.com/ohsayan/jotsy
https://github.com/rsbm/yab
wasm + rust
https://github.com/ykxVK8yL5L/axum-web
https://github.com/launchbadge/realworld-axum-sqlx
https://github.com/axumrs/roaming-axum
https://github.com/axumrs/todo
https://github.com/axumrs/short-url
https://github.com/axumrs/tg-bot
https://github.com/lz1998/axum-book-management
hhstore
commented
2 years ago
Axum 插件集成:
日志:
自家的 tracing 模块.
swagger:
https://github.com/tokio-rs/axum/issues/50
官方进展, 暂未支持
https://github.com/juhaku/utoipa
第三方插件
hhstore
commented
2 years ago
1
hhstore
commented
2 years ago
1
related: