Decision Workspace
actix-web-csp vs actix-csrf-middleware vs helmet-core
Side-by-side comparison of Rust crates
39
actix-web-csp
experimentalv0.1.0
High-performance Content Security Policy middleware for Actix Web
40
actix-csrf-middleware
experimentalv0.5.4
CSRF protection middleware for Actix Web applications. Supports double submit cookie and synchronizer token patterns (with actix-session) out of the box. Flexible, easy to configure, and includes test coverage for common attacks and edge cases.
59
helmet-core
stablev1.0.0
HTTP security headers middleware core for various web frameworks
Core Metrics
| actix-web-csp | actix-csrf-middleware | helmet-core | |
|---|---|---|---|
| Health Score | 39 | 40 | 59 |
| Total Downloads | 476 | 1.6K | 34.5K |
| 30d Downloads | 3 | 8 | 4.0K |
| Dependents | 0 | 0 | 46 |
| Releases | 1 | 5 | 4 |
| Last Updated | 225d ago | 167d ago | 23d ago |
| Age | 7m | 6m | 2y 2m |
Health Breakdown
actix-web-csp
Maintenance
4
Quality
13
Community
6
Popularity
3
Documentation
13
actix-csrf-middleware
Maintenance
11
Quality
7
Community
3
Popularity
4
Documentation
15
helmet-core
Maintenance
16
Quality
17
Community
11
Popularity
5
Documentation
10
Technical Details
| actix-web-csp | actix-csrf-middleware | helmet-core | |
|---|---|---|---|
| Version | 0.1.0 | 0.5.4 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 26 | 21 | 0 |
| Crate Size | 65KB | 52KB | 12KB |
| Features | 6 | 1 | 0 |
| Yanked % | 0.0% | 20.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.70.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •helmet-core leads with a health score of 59/100, but none of the options score above 80.
- •actix-web-csp, actix-csrf-middleware are pre-1.0 — API may change.