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
76
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 | 76 |
| Total Downloads | 1.0K | 880 | 26.3M |
| 30d Downloads | 21 | 3 | 4.6M |
| Dependents | 1 | 0 | 4.8K |
| Releases | 1 | 1 | 46 |
| Last Updated | 410d ago | 410d ago | 14d ago |
| Age | 1y 1m | 1y 1m | 1y 9m |
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
18
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 76/100, but none of the options score above 80.
- •bon is depended on by 4.8K 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.