Decision Workspace
rok-acl-macros vs rok-acl vs casbin
Side-by-side comparison of Rust crates
46
rok-acl-macros
experimentalv0.6.0
Proc-macro guards #[require_permission] and #[require_role] for rok-acl
38
rok-acl
experimentalv0.1.0
Database-backed ACL — roles, permissions, and route guards for rok/Axum apps
61
casbin
growingv2.20.0
An authorization library that supports access control models like ACL, RBAC, ABAC.
Core Metrics
| rok-acl-macros | rok-acl | casbin | |
|---|---|---|---|
| Health Score | 46 | 38 | 61 |
| Total Downloads | 149 | 20 | 3.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 0 | 283 |
| Releases | 2 | 1 | 72 |
| Last Updated | 130d ago | 152d ago | 247d ago |
| Age | 5m | 5m | 6y 9m |
Health Breakdown
rok-acl-macros
Maintenance
11
Quality
14
Community
8
Popularity
3
Documentation
10
rok-acl
Maintenance
6
Quality
14
Community
6
Popularity
2
Documentation
10
casbin
Maintenance
10
Quality
19
Community
14
Popularity
8
Documentation
10
Technical Details
| rok-acl-macros | rok-acl | casbin | |
|---|---|---|---|
| Version | 0.6.0 | 0.1.0 | 2.20.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 3 | 8 | 28 |
| Crate Size | 5KB | 20KB | 104KB |
| Features | 0 | 2 | 10 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 4 |
Links
Quick Verdict
- •casbin leads with a health score of 61/100, but none of the options score above 80.
- •casbin is depended on by 283 crates — strongest ecosystem trust.
- •rok-acl-macros, rok-acl are pre-1.0 — API may change.