Decision Workspace
elif-auth vs garrison vs auth-framework-rs
Side-by-side comparison of Rust crates
48
elif-auth
growingv0.4.1
Authentication and authorization system for elif.rs framework - JWT, sessions, RBAC, password hashing, and middleware
50
garrison
experimentalv0.8.1
Garrison - 面向 Rust 生态的一站式身份认证鉴权框架
46
auth-framework-rs
experimentalv1.0.3
A unified identity, session, token, and permission framework with pluggable providers
Core Metrics
| elif-auth | garrison | auth-framework-rs | |
|---|---|---|---|
| Health Score | 48 | 50 | 46 |
| Total Downloads | 2.3K | 1.1K | 26 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 13 | 4 | 0 |
| Releases | 4 | 6 | 2 |
| Last Updated | 396d ago | 19d ago | 37d ago |
| Age | 1y 1m | 2m | 1m |
Health Breakdown
elif-auth
Maintenance
7
Quality
15
Community
9
Popularity
4
Documentation
13
garrison
Maintenance
12
Quality
11
Community
8
Popularity
4
Documentation
15
auth-framework-rs
Maintenance
12
Quality
16
Community
6
Popularity
2
Documentation
10
Technical Details
| elif-auth | garrison | auth-framework-rs | |
|---|---|---|---|
| Version | 0.4.1 | 0.8.1 | 1.0.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 | MIT |
| Dependencies | 21 | 84 | 4 |
| Crate Size | 57KB | 2.4MB | 18KB |
| Features | 6 | 97 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •garrison leads with a health score of 50/100, but none of the options score above 80.
- •elif-auth has the most downloads (2.3K), suggesting wider adoption.
- •⚠ elif-auth has not been updated in over a year.
- •elif-auth, garrison are pre-1.0 — API may change.