rustio rustio.net
65

casbin

v2.20.0 Stable

An authorization library that supports access control models like ACL, RBAC, ABAC.

Apache-2.0 Edition 2021
#authorization#auth#acl#rbac#abac

Quick Verdict

  • โœ“Actively maintained (updated 51d ago)
  • โœ“Stable API (2.x for 6+ years)
  • โœ“Trusted by 187 crates
  • !Heavy dependency tree (28 direct deps)
  • โœ“Permissive license (Apache-2.0)

Security

Checking security advisories...
Downloads
1.1M
Dependents
187
Releases
72
Size
104KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

96.1K downloads in the last 30 days (3.2K/day), up 41% from the previous period.

๐Ÿ”—
Moderate adoption

187 crates depend on casbin. Reasonable ecosystem adoption, though not yet a core dependency.

โœ…
Stable for 6+ years

The API has been stable (1.x) for over 6 years with 72 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿ“ฆ
Heavy dependency tree

28 direct dependencies. Consider the impact on compile times and supply chain complexity.

๐ŸŒŸ
Used by top crates

Notable dependents include sqlx-adapter, diesel-adapter, actix-casbin-auth, auditor, actix-casbin. When high-quality crates choose casbin, it's a strong quality signal.

Health Breakdown

Maintenance 16/25

Recency, release consistency, active ratio

Quality 19/25

Yanked ratio, deps, size, maturity, features

Community 13/20

Reverse deps, ownership, ecosystem

Popularity 7/15

Downloads, momentum, growth trend

Documentation 10/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
2K/day avg+66%
01K2K3K4K5K6K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v2.10.1
32%
v2.0.9
27%
v2.2.0
17%
v2.12.0
12%
v2.5.0
11%

Release Timeline

72 releasessince 2019
J
F
M
A
M
J
J
A
S
O
N
D
2019
2
2020
44
2021
4
2022
2023
1
2024
3
2025
16
2026
2
Less
More

Feature Flags

default =["runtime-tokio", "incremental"]

ipglobcachedexplainloggingwatcherincremental*runtime-tokio*runtime-async-std

README

Loading README...

Maintainers

Dependencies
28
direct dependencies
Dependents
187
crates depend on casbin

Similar Crates