Decision Workspace
html_sanitize vs html_sanitize_derive vs damask-macros
Side-by-side comparison of Rust crates
34
html_sanitize
growingv0.1.0
A macro based HTML sanitizer to add to structs so they can be sanitised before storage or transmission
35
html_sanitize_derive
growingv0.1.0
Derive macro for html_sanitize
48
damask-macros
experimentalv0.13.1
Procedural macros for Damask: the `Component` derive.
Core Metrics
| html_sanitize | html_sanitize_derive | damask-macros | |
|---|---|---|---|
| Health Score | 34 | 35 | 48 |
| Total Downloads | 891 | 1.1K | 476 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1 | 17 |
| Releases | 1 | 1 | 17 |
| Last Updated | 606d ago | 606d ago | 24d ago |
| Age | 1y 8m | 1y 8m | 2m |
Health Breakdown
html_sanitize
Maintenance
1
Quality
14
Community
5
Popularity
4
Documentation
10
html_sanitize_derive
Maintenance
1
Quality
14
Community
6
Popularity
4
Documentation
10
damask-macros
Maintenance
11
Quality
13
Community
9
Popularity
3
Documentation
12
Technical Details
| html_sanitize | html_sanitize_derive | damask-macros | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.13.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 4 | 5 | 4 |
| Crate Size | 7KB | 8KB | 17KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •damask-macros leads with a health score of 48/100, but none of the options score above 80.
- •html_sanitize_derive has the most downloads (1.1K), suggesting wider adoption.
- •⚠ html_sanitize, html_sanitize_derive have not been updated in over a year.