Decision Workspace
actix-web-csp vs actix-csrf-middleware vs reinhardt-middleware
Side-by-side comparison of Rust crates
38
actix-web-csp
experimentalv0.1.0
High-performance Content Security Policy middleware for Actix Web
48
actix-csrf-middleware
experimentalv0.7.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.
63
reinhardt-middleware
experimentalv0.3.1
Middleware system for request/response processing pipeline
Core Metrics
| actix-web-csp | actix-csrf-middleware | reinhardt-middleware | |
|---|---|---|---|
| Health Score | 38 | 48 | 63 |
| Total Downloads | 490 | 1.7K | 10.7K |
| 30d Downloads | 0 | 0 | 1.9K |
| Dependents | 0 | 0 | 378 |
| Releases | 1 | 8 | 68 |
| Last Updated | 333d ago | 11d ago | 8d ago |
| Age | 11m | 10m | 5m |
Health Breakdown
actix-web-csp
Maintenance
3
Quality
13
Community
6
Popularity
3
Documentation
13
actix-csrf-middleware
Maintenance
18
Quality
8
Community
3
Popularity
4
Documentation
15
reinhardt-middleware
Maintenance
18
Quality
12
Community
13
Popularity
5
Documentation
15
Technical Details
| actix-web-csp | actix-csrf-middleware | reinhardt-middleware | |
|---|---|---|---|
| Version | 0.1.0 | 0.7.0 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | BSD-3-Clause |
| Dependencies | 26 | 20 | 40 |
| Crate Size | 65KB | 55KB | 222KB |
| Features | 6 | 1 | 12 |
| Yanked % | 0.0% | 12.5% | 4.4% |
| 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 63/100, but none of the options score above 80.
- •reinhardt-middleware is depended on by 378 crates — strongest ecosystem trust.