Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-09-19 04:00 UTC

apache / casbin-sqlx-adapter

Asynchronous casbin adapter for mysql, postgres, sqlite based on sqlx-rs

RustApache-2.0★ 62 stars⑂ 33 forkssince Feb 2020View on GitHub ↗

apache/casbin-sqlx-adapter holds a health index of 59 out of 100, placing it in the Moderate band. It scores highest on Sustainability & Governance (69/100) and lowest on Engineering Quality (44/100). It was last updated 1 day ago. A single contributor accounts for most of its recent work.

59
overall / 100
Moderate

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

59
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 56 is calibrated to 59 on the published index scale (record calibration 2026-08-02).

Ownership

The Apache Software FoundationOrganization · verified domain
24,287 followers3,172 public repossince Jan 2009

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
crates.iosqlx-adapter1.8.011,37723434 days ago

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

54Moderate · 21% of overall
How it's scored
36/36Push recencylast push 1 days ago
2.1/36Commit cadence3/52 weeks with commits
9/18Commit volume9 commits in the last year
8/10OpenSSF Scorecard: Maintained9 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 8
Inputs used
commits_last_year9
human_commit_share0.98
days_since_last_push1
active_weeks_last_year3
How it's scored
27/27Ships releases21 releases published
7.2/36Release recencylatest release 434 days ago
12.6/27Release cadencea release every ~158 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count21
latest_release_tagv1.8.0
releases_from_tagsno
days_since_latest_release434
mean_days_between_releases158
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

53Moderate · 17% of overall
How it's scored
29/60Stars62 stars
12.5/25Forks33 forks
1.7/15Watchers3 watchers
Inputs used
forks33
stars62
watchers3
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (Apache-2.0)
0/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges3
has_contributingno
has_issue_templateno
has_code_of_conductyes
readme_badge_servicescodecov.io, github.com, shields.io
has_pull_request_templateno

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

69Good · 23% of overall
How it's scored
9/54Bus factor1 contributor(s) cover half of all commits
8.2/22.5Commit distributiontop contributor authored 64% of commits
13.5/13.5Contributor breadth17 contributors
10/10OpenSSF Scorecard: Contributorsproject has 35 contributing companies or organizations
Inputs used
bus_factor1
contributors_sampled17
top_contributor_share0.637
How it's scored
42/42Issue resolution100% of issues closed
18.1/30PR acceptance50/83 decided PRs merged
0/13Newcomer PR acceptance0/1 first-time contributors' PRs merged in 30d
4.5/15OpenSSF Scorecard: Code-ReviewFound 11/30 approved changesets -- score normalized to 3
Inputs used
merged_prs50
open_issues0
closed_issues31
prs_merged_7d0
prs_decided_7d1
prs_merged_30d0
prs_decided_30d1
issue_closed_ratio1
closed_unmerged_prs33
first_time_authors_30d1
first_time_prs_merged_30d0
first_time_prs_decided_30d1
How it's scored
30/30Ownership backingorganization-owned
20/20Verified domain
25/25Owner reach24,287 followers of apache
25/25Track record3,172 public repos, account ~17 yr old
Inputs used
followers24,287
owner_typeOrganization
is_verifiedyes
owner_loginapache
public_repos3,172
account_age_days6,453
How it's scored
25/25Published & resolvable1 package(s) on crates
14/35Publish recencylatest publish 434 days ago
20/20Version history23 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagessqlx-adapter
ecosystemscrates
any_deprecatedno
min_days_since_publish434

Engineering Quality

Are baseline engineering and documentation practices in place?

44Weak · 19% of overall
How it's scored
24/24CI workflows3 workflow(s)
0/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
0/6.4.editorconfig
0/20OpenSSF Scorecard: CI-Tests1 out of 11 merged PRs checked by a CI test -- score normalized to 0
Inputs used
has_ciyes
has_testsno
has_editorconfigno
has_linter_configno
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage sitehttps://github.com/casbin/casbin-rs
10/10Repository description
10/10Topics18 topics
10/10Wiki
Inputs used
topicssqlx-adapter, postgres, mysql, casbin, casbin-rs, rust, rbac, abac, acl, permission, authentication, auth, sqlx, access-control, storage-driver, adapter, sqlite, orm
has_wikiyes
homepagehttps://github.com/casbin/casbin-rs
docs_sitehttps://github.com/casbin/casbin-rs
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

57Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
0/2.5CI-Tests1 out of 11 merged PRs checked by a CI test -- score normalized to 0
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
2.2/7.5Code-ReviewFound 11/30 approved changesets -- score normalized to 3
2.5/2.5Contributorsproject has 35 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
6/7.5Maintained9 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 8
0/5Packagingno data
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTSAST tool is not run on all commits -- score normalized to 0
5/5Security-Policysecurity policy file detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities0 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated16
scorecard_versionv5.5.0
checks_inconclusive2
scorecard_aggregate5.5
Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized.
How it's scored
26.6/35Direct dependencies free of known advisories1 affected: async-std 1.13.2 (unknown)
9.8/25Indirect dependencies free of known advisories4 affected: rustix 0.38.10 (moderate 6.5), instant 0.1.13 (unknown), paste 1.0.15 (unknown), +1 more
27.4/40No advisories left outstanding5 advisory-carrying package(s) unaddressed past 90 days; oldest published 1,066 days ago
Inputs used
sourceosv
advisories5
affected_packages5
assessed_packages194
unassessed_packages0
affected_by_severitymoderate 1, unknown 4
direct_affected_packages1
Matched the crates:sqlx-adapter@1.8.0 runtime dependency closure — what installing the published package pulls in — 194 packages. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

54Moderate · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
35.9/40Legible commit history66 of 98 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url
legible_history_share0.673
agent_instruction_files
agent_instruction_max_bytes
How it's scored
12.6/18One-command bootstrapCargo.toml (toolchain convention, no task runner)
0/22Automated tests
0/11Lint / format config
11/11Static type checkingRust (statically typed)
0/10Reproducible environment
0/10Demonstrated agent practiceno agent-authored commits among the last 100
8/8Automated maintenance2 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsno
lockfiles
has_dockerfileno
typed_languageyes
bootstrap_files
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share0
toolchain_manifestsCargo.toml
dependency_bot_commit_share0.02
How it's scored
45/45Type-checkable codeRust (statically typed)
55/55Manageable file sizes0/5 source files over 60KB
Inputs used
primary_languageRust
largest_source_bytes20,672
source_files_sampled5
oversized_source_files0
How it's scored
0/40API schema (OpenAPI/GraphQL/proto)not applicable to this kind of software
0/20MCP servernot applicable to this kind of software
40/40Runnable examplesexamples
Inputs used
example_dirsexamples
has_mcp_signalno
api_schema_files
interfaces_expected_of
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

62GitHub stars
17contributors
9commits, last 12 months
1days since last push
21releases
1bus factor
0open issues
crates.iopackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 33 ⇿
0Stars
33Forks
21Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

01325383222020-042023-062026-09
Major 1Minor 11Patch 9

Each point covers 6 days.

OpenSSF Scorecard 5.5 / 10
5.5aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-09-19 04:00 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
0CI-Tests1 out of 11 merged PRs checked by a CI test -- score normalized to 0
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
3Code-ReviewFound 11/30 approved changesets -- score normalized to 3
10Contributorsproject has 35 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
8Maintained9 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 8
n/aPackagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 3
RegistryPackageVersion constraintManifest
crates.iocasbin2.1.0Cargo.toml
crates.iosqlx0.9Cargo.toml
crates.ioasync-trait0.1.51Cargo.toml
All dependencies 5

Full resolved dependency set from the GitHub dependency graph: 3 direct and 2 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
crates.ioasync-traitdirect
crates.iocasbindirect
crates.iosqlxdirect
crates.ioasync-stdindirect
crates.iotokioindirect
Dependency advisories 5

Installing crates:sqlx-adapter@1.8.0 pulls in 194 packages, direct and transitive: 5 carry known advisories, of which 1 are direct dependencies.

PackageVersionRelationSeverityAdvisoriesFixed in
rustix0.38.10indirectmoderate10.38.19
async-std1.13.2directunknown1
instant0.1.13indirectunknown1
paste1.0.15indirectunknown1
smartstring1.0.1indirectunknown1

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticscrates.io.