| Crates.io | actix_tera_page |
| lib.rs | actix_tera_page |
| version | 0.1.0 |
| created_at | 2023-10-12 01:22:35.385339+00 |
| updated_at | 2023-10-12 01:22:35.385339+00 |
| description | A middleware for Actix that reduces the boilerplate needed to create SSR websites with Tera. |
| homepage | |
| repository | https://github.com/stackslam/actix_tera_page |
| max_upload_size | |
| id | 1000872 |
| size | 54,691 |
This crate provides a middleware for actix_web that reduces the boilerplate needed to
create SSR websites with Tera. It matches GET request paths to templates and renders them
using a shared "base context". An example use case would be populating a website navbar
with user information or login/signup buttons, depending on if there is a user logged in or not.