Decision Workspace
html_sanitize_derive vs html_sanitize vs bon
Side-by-side comparison of Rust crates
36
html_sanitize_derive
growingv0.1.0
Derive macro for html_sanitize
35
html_sanitize
growingv0.1.0
A macro based HTML sanitizer to add to structs so they can be sanitised before storage or transmission
73
bon
stablev3.9.1
Next-gen compile-time-checked builder generator, named function's arguments, and more!
Core Metrics
| html_sanitize_derive | html_sanitize | bon | |
|---|---|---|---|
| Health Score | 36 | 35 | 73 |
| Total Downloads | 1.0K | 883 | 34.2M |
| 30d Downloads | 0 | 0 | 4.3M |
| Dependents | 1 | 0 | 6.4K |
| Releases | 1 | 1 | 46 |
| Last Updated | 469d ago | 469d ago | 73d ago |
| Age | 1y 3m | 1y 3m | 1y 10m |
Health Breakdown
html_sanitize_derive
Maintenance
2
Quality
14
Community
6
Popularity
4
Documentation
10
html_sanitize
Maintenance
2
Quality
14
Community
5
Popularity
4
Documentation
10
bon
Maintenance
15
Quality
21
Community
17
Popularity
8
Documentation
12
Technical Details
| html_sanitize_derive | html_sanitize | bon | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 3.9.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 5 | 4 | 6 |
| Crate Size | 8KB | 7KB | 67KB |
| Features | 0 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.59.0 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •bon leads with a health score of 73/100, but none of the options score above 80.
- •bon is depended on by 6.4K crates — strongest ecosystem trust.
- •⚠ html_sanitize_derive, html_sanitize have not been updated in over a year.
- •html_sanitize_derive, html_sanitize are pre-1.0 — API may change.