Decision Workspace
owasp-headers vs http-security-headers vs http-cache-semantics
Side-by-side comparison of Rust crates
44
owasp-headers
growingv0.2.0
best-practice OWASP HTTP response headers ( https://owasp.org/www-project-secure-headers/ ) for Rust
44
http-security-headers
experimentalv0.1.0
Type-safe, framework-agnostic HTTP security headers with Tower middleware support
72
http-cache-semantics
stablev3.0.0
RFC 7234. Parses HTTP headers to correctly compute cacheability of responses, even in complex cases
Core Metrics
| owasp-headers | http-security-headers | http-cache-semantics | |
|---|---|---|---|
| Health Score | 44 | 44 | 72 |
| Total Downloads | 5.4K | 844 | 3.2M |
| 30d Downloads | 75 | 508 | 308.6K |
| Dependents | 0 | 0 | 2.0K |
| Releases | 4 | 1 | 18 |
| Last Updated | 119d ago | 139d ago | 51d ago |
| Age | 4y 4m | 4m | 6y 1m |
Health Breakdown
owasp-headers
Maintenance
9
Quality
15
Community
6
Popularity
4
Documentation
10
http-security-headers
Maintenance
6
Quality
14
Community
6
Popularity
3
Documentation
15
http-cache-semantics
Maintenance
13
Quality
16
Community
20
Popularity
8
Documentation
15
Technical Details
| owasp-headers | http-security-headers | http-cache-semantics | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.0 | 3.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | BSD-2-Clause |
| Dependencies | 2 | 18 | 7 |
| Crate Size | 5KB | 35KB | 21KB |
| Features | 0 | 7 | 2 |
| Yanked % | 0.0% | 0.0% | 22.2% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.75.0 | 1.85 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •http-cache-semantics leads with a health score of 72/100, but none of the options score above 80.
- •http-cache-semantics is depended on by 2.0K crates — strongest ecosystem trust.
- •owasp-headers, http-security-headers are pre-1.0 — API may change.