Decision Workspace
actix-web-csp vs actix-csrf-middleware vs reinhardt-middleware
Side-by-side comparison of Rust crates
38
actix-web-csp
growingv0.1.0
High-performance Content Security Policy middleware for Actix Web
49
actix-csrf-middleware
growingv0.9.0
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.
66
reinhardt-middleware
experimentalv0.3.23
Middleware system for request/response processing pipeline
Core Metrics
| actix-web-csp | actix-csrf-middleware | reinhardt-middleware | |
|---|---|---|---|
| Health Score | 38 | 49 | 66 |
| Total Downloads | 500 | 1.9K | 16.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 619 |
| Releases | 1 | 11 | 110 |
| Last Updated | 421d ago | 32d ago | 1d ago |
| Age | 1y 1m | 1y 1m | 8m |
Health Breakdown
actix-web-csp
Maintenance
2
Quality
14
Community
6
Popularity
3
Documentation
13
actix-csrf-middleware
Maintenance
17
Quality
10
Community
3
Popularity
4
Documentation
15
reinhardt-middleware
Maintenance
20
Quality
12
Community
14
Popularity
5
Documentation
15
Technical Details
| actix-web-csp | actix-csrf-middleware | reinhardt-middleware | |
|---|---|---|---|
| Version | 0.1.0 | 0.9.0 | 0.3.23 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | BSD-3-Clause |
| Dependencies | 26 | 22 | 40 |
| Crate Size | 65KB | 65KB | 230KB |
| Features | 6 | 1 | 13 |
| Yanked % | 0.0% | 9.1% | 4.5% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.88.0 | 1.96.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •reinhardt-middleware leads with a health score of 66/100, but none of the options score above 80.
- •reinhardt-middleware is depended on by 619 crates — strongest ecosystem trust.
- •⚠ actix-web-csp has not been updated in over a year.