Decision Workspace
tower-sombrero vs content-security-policy vs http-security-headers
Side-by-side comparison of Rust crates
39
tower-sombrero
growingv0.1.0
Tower middleware and utilities to help harden web applications
63
content-security-policy
growingv0.9.0
Will parse and validate Content-Security-Policy level 3
58
http-security-headers
experimentalv0.5.0
Type-safe, framework-agnostic HTTP security headers with Tower middleware support
Core Metrics
| tower-sombrero | content-security-policy | http-security-headers | |
|---|---|---|---|
| Health Score | 39 | 63 | 58 |
| Total Downloads | 7.7K | 660.5K | 17.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 303 | 0 |
| Releases | 6 | 21 | 5 |
| Last Updated | 646d ago | 29d ago | 43d ago |
| Age | 2y 4m | 9y | 11m |
Health Breakdown
tower-sombrero
Maintenance
4
Quality
15
Community
5
Popularity
5
Documentation
10
content-security-policy
Maintenance
14
Quality
13
Community
15
Popularity
7
Documentation
14
http-security-headers
Maintenance
16
Quality
14
Community
8
Popularity
5
Documentation
15
Technical Details
| tower-sombrero | content-security-policy | http-security-headers | |
|---|---|---|---|
| Version | 0.1.0 | 0.9.0 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 10 | 9 | 16 |
| Crate Size | 10KB | 37KB | 56KB |
| Features | 2 | 1 | 5 |
| Yanked % | 0.0% | 4.8% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | 1.81.0 | 1.85 |
| Owners | 1 | 2 (team) | 2 |
Links
Quick Verdict
- •content-security-policy leads with a health score of 63/100, but none of the options score above 80.
- •content-security-policy is depended on by 303 crates — strongest ecosystem trust.
- •⚠ tower-sombrero has not been updated in over a year.