Decision Workspace
actix-modsecurity vs actix-web-helmet vs actix-csrf-middleware
Side-by-side comparison of Rust crates
42
actix-modsecurity
experimentalv0.1.2
ModSecurity middleware service and library for Actix Web
52
actix-web-helmet
growingv1.0.0
HTTP security headers 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.
Core Metrics
| actix-modsecurity | actix-web-helmet | actix-csrf-middleware | |
|---|---|---|---|
| Health Score | 42 | 52 | 40 |
| Total Downloads | 1.3K | 2.0K | 1.6K |
| 30d Downloads | 5 | 139 | 8 |
| Dependents | 0 | 0 | 0 |
| Releases | 3 | 4 | 5 |
| Last Updated | 253d ago | 23d ago | 167d ago |
| Age | 8m | 11m | 6m |
Health Breakdown
actix-modsecurity
Maintenance
10
Quality
12
Community
3
Popularity
4
Documentation
13
actix-web-helmet
Maintenance
17
Quality
15
Community
6
Popularity
4
Documentation
10
actix-csrf-middleware
Maintenance
11
Quality
7
Community
3
Popularity
4
Documentation
15
Technical Details
| actix-modsecurity | actix-web-helmet | actix-csrf-middleware | |
|---|---|---|---|
| Version | 0.1.2 | 1.0.0 | 0.5.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 9 | 4 | 21 |
| Crate Size | 16KB | 16KB | 52KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 20.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | — | 1.70.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •actix-web-helmet leads with a health score of 52/100, but none of the options score above 80.
- •actix-modsecurity, actix-csrf-middleware are pre-1.0 — API may change.