mvc_views

Crates.iomvc_views
lib.rsmvc_views
version0.1.1
sourcesrc
created_at2024-05-17 06:51:20.272253
updated_at2024-05-17 07:19:22.731608
descriptionA procedural macro to append rendering blocks to Actix Web handler functions.
homepagehttps://github.com/ryankopf/mvc_views
repositoryhttps://github.com/ryankopf/mvc_views
max_upload_size
id1242882
size4,605
Ryan Kopf (ryankopf)

documentation

https://docs.rs/mvc_views

README

mvc_views

A procedural macro to append rendering blocks to Actix Web handler functions in an MVC pattern.

Features

  • Automatically appends rendering blocks to functions within a module.
  • Ensures functions return HttpResponse with rendered content from HTML templates.
  • Simple to use: apply the macro to a module, and it processes all functions within.

Installation

Add mvc_views to your Cargo.toml:

[dependencies]
mvc_views = "0.1.0"
Commit count: 3

cargo fmt