Decision Workspace
dioxus-html-macro vs forge-rsx vs rstml
Side-by-side comparison of Rust crates
33
dioxus-html-macro
growingv0.3.0
An html macro for dioxus applications.
48
forge-rsx
experimentalv1.0.0
A Rust macro library for declarative, JSX-like HTML generation. It allows you to write HTML structures with embedded logic, attributes, nested tags, loops, and more, directly in Rust code with a concise syntax.
44
rstml
growingv0.12.1
Rust templating for XML-based formats (HTML, SVG, MathML) implemented on top of proc-macro::TokenStreams
Core Metrics
| dioxus-html-macro | forge-rsx | rstml | |
|---|---|---|---|
| Health Score | 33 | 48 | 44 |
| Total Downloads | 8.8K | 119 | 2.6M |
| 30d Downloads | 122 | 25 | 258.0K |
| Dependents | 1 | 0 | 359 |
| Releases | 3 | 6 | 13 |
| Last Updated | 1051d ago | 17d ago | 430d ago |
| Age | 5y 2m | 2m | 2y 10m |
Health Breakdown
dioxus-html-macro
Maintenance
4
Quality
8
Community
6
Popularity
5
Documentation
10
forge-rsx
Maintenance
13
Quality
17
Community
6
Popularity
2
Documentation
10
rstml
Maintenance
7
Quality
9
Community
10
Popularity
8
Documentation
10
Technical Details
| dioxus-html-macro | forge-rsx | rstml | |
|---|---|---|---|
| Version | 0.3.0 | 1.0.0 | 0.12.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT | MIT |
| Dependencies | 7 | 0 | 10 |
| Crate Size | 31KB | 9KB | 34KB |
| Features | 0 | 0 | 4 |
| Yanked % | 33.3% | 0.0% | 53.8% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •forge-rsx leads with a health score of 48/100, but none of the options score above 80.
- •rstml has the most downloads (2.6M), suggesting wider adoption.
- •rstml is depended on by 359 crates — strongest ecosystem trust.
- •⚠ dioxus-html-macro, rstml have not been updated in over a year.
- •dioxus-html-macro, rstml are pre-1.0 — API may change.