Decision Workspace
trillium-csrf vs elif-security vs actix-csrf-middleware
Side-by-side comparison of Rust crates
42
trillium-csrf
experimentalv0.1.0
CSRF protection for the trillium.rs web framework
49
elif-security
growingv0.2.2
Security middleware and utilities for the elif.rs web framework
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.
Core Metrics
| trillium-csrf | elif-security | actix-csrf-middleware | |
|---|---|---|---|
| Health Score | 42 | 49 | 49 |
| Total Downloads | 63 | 1.4K | 1.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1 | 0 |
| Releases | 2 | 4 | 11 |
| Last Updated | 44d ago | 420d ago | 32d ago |
| Age | 1m | 1y 1m | 1y 1m |
Health Breakdown
trillium-csrf
Maintenance
11
Quality
13
Community
6
Popularity
2
Documentation
10
elif-security
Maintenance
13
Quality
12
Community
7
Popularity
4
Documentation
13
actix-csrf-middleware
Maintenance
17
Quality
10
Community
3
Popularity
4
Documentation
15
Technical Details
| trillium-csrf | elif-security | actix-csrf-middleware | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.2 | 0.9.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 4 | 17 | 22 |
| Crate Size | 29KB | 30KB | 65KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 9.1% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | — | 1.88.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •elif-security leads with a health score of 49/100, but none of the options score above 80.
- •actix-csrf-middleware has the most downloads (1.9K), suggesting wider adoption.
- •⚠ elif-security has not been updated in over a year.