Decision Workspace
html-auto-p vs lol_html vs ammonia
Side-by-side comparison of Rust crates
47
html-auto-p
growingv0.2.5
This library provides a function like `wpautop` in Wordpress. It uses a group of regex replaces used to identify text formatted with newlines and replace double line-breaks with HTML paragraph tags.
76
lol_html
stablev3.0.1
Streaming HTML rewriter/parser with CSS selector-based API
74
ammonia
stablev4.2.1
HTML Sanitization
Core Metrics
| html-auto-p | lol_html | ammonia | |
|---|---|---|---|
| Health Score | 47 | 76 | 74 |
| Total Downloads | 12.9K | 6.4M | 18.1M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 4.6K | 2.1K |
| Releases | 11 | 27 | 48 |
| Last Updated | 97d ago | 72d ago | 7d ago |
| Age | 6y 2m | 6y 10m | 11y 1m |
Health Breakdown
html-auto-p
Maintenance
11
Quality
14
Community
5
Popularity
5
Documentation
12
lol_html
Maintenance
15
Quality
18
Community
20
Popularity
8
Documentation
15
ammonia
Maintenance
18
Quality
13
Community
20
Popularity
8
Documentation
15
Technical Details
| html-auto-p | lol_html | ammonia | |
|---|---|---|---|
| Version | 0.2.5 | 3.0.1 | 4.2.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | BSD-3-Clause | MIT OR Apache-2.0 |
| Dependencies | 4 | 22 | 6 |
| Crate Size | 8KB | 163KB | 65KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 54.2% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.85 | 1.85 | 1.85 |
| Owners | 1 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •lol_html leads with a health score of 76/100, but none of the options score above 80.
- •ammonia has the most downloads (18.1M), suggesting wider adoption.
- •lol_html is depended on by 4.6K crates — strongest ecosystem trust.
- •html-auto-p is pre-1.0 — API may change.