rwf

Crates.iorwf
lib.rsrwf
version
sourcesrc
created_at2024-10-10 22:45:09.696284
updated_at2024-12-05 20:42:52.700394
descriptionFramework for building web applications in the Rust programming language
homepagehttps://levkk.github.io/rwf/
repositoryhttps://github.com/levkk/rwf
max_upload_size
id1404682
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Lev Kokotov (levkk)

documentation

https://levkk.github.io/rwf/

README

Rwf ‐ Rust Web Framework

Documentation Latest crate Reference docs Discord

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

Quick start

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

cargo add rwf

Building an app is then as simple as:

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

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

#[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.

Commit count: 552

cargo fmt