Decision Workspace
libinjectionrs vs ammonia vs svg-hush
Side-by-side comparison of Rust crates
44
libinjectionrs
experimentalv0.1.1
Rust port of libinjection - SQL/XSS injection detection library
67
ammonia
growingv4.1.2
HTML Sanitization
58
svg-hush
growingv0.9.6
Strip scripting and other abusable features from SVG files
Core Metrics
| libinjectionrs | ammonia | svg-hush | |
|---|---|---|---|
| Health Score | 44 | 67 | 58 |
| Total Downloads | 1.9K | 10.2M | 133.6K |
| 30d Downloads | 168 | 516.7K | 18.6K |
| Dependents | 0 | 1.3K | 3 |
| Releases | 2 | 39 | 7 |
| Last Updated | 205d ago | 187d ago | 40d ago |
| Age | 6m | 10y 6m | 3y 8m |
Health Breakdown
libinjectionrs
Maintenance
9
Quality
15
Community
6
Popularity
4
Documentation
10
ammonia
Maintenance
11
Quality
13
Community
20
Popularity
8
Documentation
15
svg-hush
Maintenance
15
Quality
14
Community
11
Popularity
6
Documentation
12
Technical Details
| libinjectionrs | ammonia | svg-hush | |
|---|---|---|---|
| Version | 0.1.1 | 4.1.2 | 0.9.6 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | BSD-3-Clause | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 4 | 7 | 5 |
| Crate Size | 95KB | 57KB | 17KB |
| Features | 3 | 0 | 0 |
| Yanked % | 0.0% | 66.7% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.80 | 1.85 |
| Owners | 1 | 2 (team) | 3 |
Links
Quick Verdict
- •ammonia leads with a health score of 67/100, but none of the options score above 80.
- •ammonia is depended on by 1.3K crates — strongest ecosystem trust.
- •libinjectionrs, svg-hush are pre-1.0 — API may change.