Decision Workspace
rune-axum-sanitize vs axum-helmet vs axum-tower-sessions-csrf
Side-by-side comparison of Rust crates
41
rune-axum-sanitize
experimentalv0.1.0
Input sanitization middleware for Axum — strips HTML tags and null bytes from query params and request bodies
53
axum-helmet
stablev1.0.1
HTTP security headers middleware core for axum web framework
49
axum-tower-sessions-csrf
experimentalv0.1.3
CSRF protection for Axum using tower-sessions with the Synchronizer Token Pattern
Core Metrics
| rune-axum-sanitize | axum-helmet | axum-tower-sessions-csrf | |
|---|---|---|---|
| Health Score | 41 | 53 | 49 |
| Total Downloads | 13 | 46.4K | 784 |
| 30d Downloads | 0 | 7.7K | 0 |
| Dependents | 0 | 41 | 0 |
| Releases | 1 | 6 | 3 |
| Last Updated | 15d ago | 78d ago | 41d ago |
| Age | 15d | 2y 4m | 5m |
Health Breakdown
rune-axum-sanitize
Maintenance
12
Quality
12
Community
6
Popularity
1
Documentation
10
axum-helmet
Maintenance
12
Quality
15
Community
10
Popularity
6
Documentation
10
axum-tower-sessions-csrf
Maintenance
16
Quality
14
Community
6
Popularity
3
Documentation
10
Technical Details
| rune-axum-sanitize | axum-helmet | axum-tower-sessions-csrf | |
|---|---|---|---|
| Version | 0.1.0 | 1.0.1 | 0.1.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT OR LGPL-3.0-or-later |
| Dependencies | 9 | 8 | 9 |
| Crate Size | 11KB | 15KB | 18KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •axum-helmet leads with a health score of 53/100, but none of the options score above 80.
- •rune-axum-sanitize, axum-tower-sessions-csrf are pre-1.0 — API may change.