Registry / utility / rstml
library0.12.1rscratesunverified

Rust templating for XML-based formats (HTML, SVG, MathML) implemented on top of proc-macro::TokenStreams

# Cargo.toml [dependencies] rstml = "0.12.1"
INSTALL
IMPORT
SIG · RSTML
R
rstml
utilityrustv0.12.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

html
use rstml::html;

Generate HTML using a JSX-like syntax in Rust.

use rstml::html; fn main() { let result = html! { <div class="container"> <p>"Hello, world!"</p> </div> }; println!("{}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.12.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
rstml — cargo add rstml · libregistry