Decision Workspace
webgates-core vs casbin vs nornir-auth-policy
Side-by-side comparison of Rust crates
Core domain types, permission system, and authorization building blocks for webgates.
An authorization library that supports access control models like ACL, RBAC, ABAC.
Shared auth POLICY / composition layer for the nordisk servers — the RBAC role model (`Role`, `AuthConfig`, per-repo ACLs, the opt-in read gate), the declarative `AuthMethodConfig` (OIDC / OAuth2 / mTLS / static-token), and `validate_request`, which builds the enabled, feature-gated `nornir_service::AuthProvider` set from the config and dispatches a presented bearer + client-cert CN through it. The composition tier ABOVE the per-method provider leaves (nornir-auth-{bearer,oidc,oauth2,mtls}): a server pins the providers its tier needs and gets the same login + authorization model as holger (the reference consumer). Consumed by holger, and (suite-wide) korp / dwarves / nornir.
Core Metrics
| webgates-core | casbin | nornir-auth-policy | |
|---|---|---|---|
| Health Score | 58 | 61 | 53 |
| Total Downloads | 538 | 3.3M | 197 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 18 | 283 | 8 |
| Releases | 3 | 72 | 5 |
| Last Updated | 55d ago | 247d ago | 5d ago |
| Age | 5m | 6y 9m | 2m |
Health Breakdown
Technical Details
| webgates-core | casbin | nornir-auth-policy | |
|---|---|---|---|
| Version | 1.1.1 | 2.20.0 | 0.1.4 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 11 | 28 | 16 |
| Crate Size | 41KB | 104KB | 51KB |
| Features | 1 | 10 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.94 | — | — |
| Owners | 1 | 4 | 1 |
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.
- •nornir-auth-policy is pre-1.0 — API may change.