Decision Workspace
csrf_guard vs csrf vs rocket_csrf_token
Side-by-side comparison of Rust crates
40
csrf_guard
growingv0.4.0
Thread safe, generic, enterprise level csrf guard for all frameworks and runtimes
47
csrf
growingv0.5.0
CSRF protection primitives
40
rocket_csrf_token
growingv0.3.5
CSRF (Cross-Site Request Forgery) protection for Rocket web framework
Core Metrics
| csrf_guard | csrf | rocket_csrf_token | |
|---|---|---|---|
| Health Score | 40 | 47 | 40 |
| Total Downloads | 4.8K | 94.6K | 7.8K |
| 30d Downloads | 6 | 2.4K | 62 |
| Dependents | 0 | 174 | 0 |
| Releases | 5 | 17 | 5 |
| Last Updated | 518d ago | 391d ago | 794d ago |
| Age | 1y 6m | 9y 1m | 2y 5m |
Health Breakdown
csrf_guard
Maintenance
10
Quality
10
Community
6
Popularity
4
Documentation
10
csrf
Maintenance
5
Quality
11
Community
12
Popularity
6
Documentation
13
rocket_csrf_token
Maintenance
4
Quality
14
Community
7
Popularity
5
Documentation
10
Technical Details
| csrf_guard | csrf | rocket_csrf_token | |
|---|---|---|---|
| Version | 0.4.0 | 0.5.0 | 0.3.5 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 11 | 4 |
| Crate Size | 5KB | 14KB | 10KB |
| Features | 0 | 1 | 0 |
| Yanked % | 20.0% | 5.9% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •csrf leads with a health score of 47/100, but none of the options score above 80.
- •csrf is depended on by 174 crates — strongest ecosystem trust.
- •⚠ csrf_guard, csrf, rocket_csrf_token have not been updated in over a year.