百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

rwf

> 数据库
开源

在 Rust 中构建 Web 应用程序的全面框架。

1.1K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

在 Rust 中构建 Web 应用程序的全面框架。

Rwf ‐ Rust Web Framework

Rwf is a comprehensive framework for building web applications in Rust. Written using the classic MVC pattern (model-view-controller), Rwf comes standard with everything you need to easily build fast and secure web apps.

Documentation

📘 The documentation is available here.

Features overview

  • ✔ HTTP server
  • ✔ User-friendly ORM to build PostgreSQL queries easily
  • ✔ Dynamic templates
  • ✔ Authentication & built-in user sessions
  • ✔ Middleware
  • ✔ Background jobs and scheduled jobs
  • ✔ Database migrations
  • ✔ Built-in REST framework with JSON serialization
  • ✔ WebSockets support
  • ✔ Static files hosting
  • ✔ Tight integration with Hotwired Turbo for building backend-driven SPAs
  • ✔ Environment-specific configuration
  • ✔ Logging and metrics
  • ✔ CLI
  • ✔ WSGI server for migrating from Django/Flask apps
  • ✔ Rack server for migrating from Rails

Quick start

To add Rwf to your stack, create a Rust binary application and add rwf to your dependencies:

bash
cargo add rwf

Building an app is then as simple as:

rust
use rwf::prelude::*;
use rwf::http::Server;

#[controller]
async fn index() -> Response {
    Response::new().html("
Welcome to Rwf!
")
}

#[tokio::main]
async fn main() {
    Server::new(vec![
        route!("/" => index),
    ])
    .launch()
    .await
    .unwrap();
}

Examples

See examples for common use cases.

🚦 Status 🚦

Rwf is in beta and looking for early adopters. Most features are in a good state and documentation is usable.

🔧 Contributions

Contributions are welcome. Please see CONTRIBUTING for guidelines, ARCHITECTURE for a tour of the code, and ROADMAP for a non-exhaustive list of desired features.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustappsframeworkmodelsmvc

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库