StaticWeaver logo # `StaticWeaver` A fast and flexible templating engine for Rust applications.
[![Made With Love][made-with-rust]][08] [![Crates.io][crates-badge]][03] [![lib.rs][libs-badge]][01] [![Docs.rs][docs-badge]][04] [![Codecov][codecov-badge]][06] [![Build Status][build-badge]][07] [![GitHub][github-badge]][09] • [Website][00] • [Documentation][04] • [Report Bug][02] • [Request Feature][02] • [Contributing Guidelines][05]
## Overview `staticweaver` is a robust Rust library that provides a flexible and powerful templating engine. Designed for static site generation and more, it offers advanced caching, remote template support, and customizable rendering for optimized performance. ## Features - **Flexible Template Rendering:** Ideal for static sites, web apps, and other use cases. - **Dynamic Content:** Easily interpolate variables in templates with a powerful context system. - **File and String Templates:** Render templates from both files and strings. - **Advanced Caching:** Improve performance by caching templates for repeated use. - **Custom Rendering:** Modify and extend the rendering process to fit your needs. - **Remote Template Support:** Fetch and render templates from URLs. - **Comprehensive Error Handling:** Gracefully manage template rendering errors. [00]: https://staticweaver.com [01]: https://lib.rs/crates/staticweaver [02]: https://github.com/sebastienrousseau/staticweaver/issues [03]: https://crates.io/crates/staticweaver [04]: https://docs.rs/staticweaver [05]: https://github.com/sebastienrousseau/staticweaver/blob/main/CONTRIBUTING.md [06]: https://codecov.io/gh/sebastienrousseau/staticweaver [07]: https://github.com/sebastienrousseau/staticweaver/actions?query=branch%3Amain [08]: https://www.rust-lang.org/ [09]: https://github.com/sebastienrousseau/staticweaver [build-badge]: https://img.shields.io/github/actions/workflow/status/sebastienrousseau/staticweaver/release.yml?branch=main&style=for-the-badge&logo=github [codecov-badge]: https://img.shields.io/codecov/c/github/sebastienrousseau/staticweaver?style=for-the-badge&token=psbZ8MASWj&logo=codecov [crates-badge]: https://img.shields.io/crates/v/staticweaver.svg?style=for-the-badge&color=fc8d62&logo=rust [docs-badge]: https://img.shields.io/badge/docs.rs-staticweaver-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs [github-badge]: https://img.shields.io/badge/github-sebastienrousseau/staticweaver-8da0cb?style=for-the-badge&labelColor=555555&logo=github [libs-badge]: https://img.shields.io/badge/lib.rs-v0.0.1-orange.svg?style=for-the-badge [made-with-rust]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust ## Changelog 📚