actix_tera_page

Crates.ioactix_tera_page
lib.rsactix_tera_page
version0.1.0
sourcesrc
created_at2023-10-12 01:22:35.385339
updated_at2023-10-12 01:22:35.385339
descriptionA middleware for Actix that reduces the boilerplate needed to create SSR websites with Tera.
homepage
repositoryhttps://github.com/stackslam/actix_tera_page
max_upload_size
id1000872
size54,691
stackslam (stackslam)

documentation

README

actix_tera_page

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.

Commit count: 2

cargo fmt