rama-http-macros 0.3.0

procedural macros for rama-http (html templating and friends)
Documentation

rama banner

Crates.io Docs.rs MIT License Apache 2.0 License rust version Build Status

Discord Buy Me A Coffee GitHub Sponsors Paypal Donation

🦙 rama® (ラマ) is a modular service framework for the 🦀 Rust language to move and transform your network packets. The reasons behind the creation of rama can be read in the "Why Rama" chapter.

rama-http-macros

rama-http-macros contains the procedural macros that power the type-safe HTML templating support exposed by rama-http (and thus rama) under the html feature gate. End users should not depend on this crate directly — instead enable the html feature on rama-http (or rama) and use the macros re-exported from rama_http::protocols::html (or rama::http::protocols::html).

The macros (one per HTML element name, e.g. div!, span!, html!, ...) are a permanent fork of vy-macros adapted to integrate naturally with the rest of the rama ecosystem. See docs/thirdparty/fork/README.md for the exact upstream commit that was forked.

Learn more about rama: