Public record
Software health reportschema 0.31.0 · metrics 2.5.0 · 2026-08-08 20:03 UTC

rust-lang / rust-bindgen

Automatically generates Rust FFI bindings to C (and some C++) libraries.

RustBSD-3-Clause★ 5,260 stars⑂ 822 forkssince Jun 2016View on GitHub ↗
KindLibraryCommand-line toolhow this is determined

rust-lang/rust-bindgen holds a health index of 89 out of 100, placing it in the Excellent band. It scores highest on Community & Adoption (90/100) and lowest on AI Readiness (59/100). It was last updated 11 days ago. 3 contributors account for most of its recent work.

89
overall / 100
Excellent

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.

89
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 75 is calibrated to 89 on the published index scale (record calibration 2026-08-02).

Ownership

17,970 followers246 public repossince Sep 2013

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

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
crates.iobindgen0.72.121,100,466126342 days agobindingsfficode-generationexternal-ffi-bindings
crates.iobindgen-cli0.72.178,62822342 days agobindingsfficode-generationexternal-ffi-bindings

Metrics by category

Vitality

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

70Good · 21% of overall
How it's scored
28.8/36Push recency — last push 11 days ago
19.4/36Commit cadence — 28/52 weeks with commits
16.5/18Commit volume — 68 commits in the last year
10/10OpenSSF Scorecard: Maintained — 20 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year68
human_commit_share1
days_since_last_push11
active_weeks_last_year28
How it's scored
27/27Ships releases — 15 releases published
16.2/36Release recency — latest release 342 days ago
19.8/27Release cadence — a release every ~66.3 days
0/10OpenSSF Scorecard: Signed-Releases — Project has not signed or included provenance with any releases.
Inputs used
releases_count15
latest_release_tagv0.72.1
releases_from_tagsno
days_since_latest_release342
mean_days_between_releases66.3

Community & Adoption

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

90Excellent · 17% of overall
How it's scored
60/60Stars — 5,260 stars
24.3/25Forks — 822 forks
9.4/15Watchers — 50 watchers
Inputs used
forks822
stars5,260
watchers50
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (BSD-3-Clause)
18/18CONTRIBUTING guide
0/13.5Code of conduct
7.2/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges1
has_contributingyes
has_issue_templateyes
has_code_of_conductno
readme_badge_servicesshields.io
has_pull_request_templateno
How it's scored
80/80Monthly downloads — 21,179,094 downloads/month across crates
0/20Registry dependents — not reported by this ecosystem
Inputs used
packagesbindgen, bindgen-cli
dependents
ecosystemscrates
total_downloads355,898,440
monthly_downloads21,179,094
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

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

78Good · 23% of overall
How it's scored
36/54Bus factor — 3 contributor(s) cover half of all commits
15.3/22.5Commit distribution — top contributor authored 32% of commits
13.5/13.5Contributor breadth — 100 contributors
10/10OpenSSF Scorecard: Contributors — project has 70 contributing companies or organizations
Inputs used
bus_factor3
contributors_sampled100
top_contributor_share0.32
How it's scored
28.9/42Issue resolution — 69% of issues closed
26.4/30PR acceptance — 1,452/1,647 decided PRs merged
2.6/13Newcomer PR acceptance — 1/5 first-time contributors' PRs merged in 30d
12/15OpenSSF Scorecard: Code-Review — Found 18/21 approved changesets -- score normalized to 8
Inputs used
merged_prs1,452
open_issues516
closed_issues1,133
prs_merged_7d0
prs_decided_7d0
prs_merged_30d3
prs_decided_30d7
issue_closed_ratio0.687
closed_unmerged_prs195
first_time_authors_30d5
first_time_prs_merged_30d1
first_time_prs_decided_30d5
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
25/25Owner reach — 17,970 followers of rust-lang
25/25Track record — 246 public repos, account ~12 yr old
Inputs used
followers17,970
owner_typeOrganization
is_verified
owner_loginrust-lang
public_repos246
account_age_days4,714
How it's scored
25/25Published & resolvable — 2 package(s) on crates
26/35Publish recency — latest publish 342 days ago
20/20Version history — 126 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagesbindgen, bindgen-cli
ecosystemscrates
any_deprecatedno
min_days_since_publish342

Engineering Quality

Are baseline engineering and documentation practices in place?

71Good · 19% of overall
How it's scored
24/24CI workflows — 6 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 21 out of 21 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configno
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://rust-lang.github.io/rust-bindgen/
10/10Repository description
10/10Topics — 3 topics
10/10Wiki
Inputs used
topicsffi, bindings, codegen
has_wikiyes
homepagehttps://rust-lang.github.io/rust-bindgen/
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

68Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
2.2/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 21 out of 21 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
6/7.5Code-Review — Found 18/21 approved changesets -- score normalized to 8
2.5/2.5Contributors — project has 70 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 20 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — no data
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — Project has not signed or included provenance with any releases.
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
6.8/7.5Vulnerabilities — 1 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate6
Excluded from scoring (no data or not applicable): packaging. Remaining weights renormalized.

Dependency advisories

100Exceptional
How it's scored
35/35Direct dependencies free of known advisories — no direct dependency carries a known advisory
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
0/40No advisories left outstanding — no advisory carries a publication date
Inputs used
sourceosv
advisories2
affected_packages1
assessed_packages79
unassessed_packages0
affected_by_severitylow 1
direct_affected_packages0
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories, No advisories left outstanding. Remaining weights renormalized. Matched 79 resolved dependencies against OSV. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. 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.

59Moderate · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
34.7/40Legible commit history — 65 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
legible_history_share0.65
agent_instruction_files
agent_instruction_max_bytes
How it's scored
12.6/18One-command bootstrap — Cargo.toml, bindgen-cli/Cargo.toml, bindgen-integration/Cargo.toml (toolchain convention, no task runner)
22/22Automated tests
0/11Lint / format config
11/11Static type checking — Rust (statically typed)
10/10Reproducible environment — lockfile
6/10Demonstrated agent practice — 3 of the last 100 commits agent-authored or agent-credited
0/8Automated maintenance — no automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilesCargo.lock
has_dockerfileno
typed_languageyes
bootstrap_files
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share0.03
toolchain_manifestsCargo.toml, bindgen-cli/Cargo.toml, bindgen-integration/Cargo.toml, bindgen-tests/Cargo.toml, bindgen-tests/tests/expectations/Cargo.toml, bindgen-tests/tests/quickchecking/Cargo.toml, bindgen/Cargo.toml
dependency_bot_commit_share0
How it's scored
45/45Type-checkable code — Rust (statically typed)
54.6/55Manageable file sizes — 10/1,316 source files over 60KB
Inputs used
primary_languageRust
largest_source_bytes4,601,670
source_files_sampled1,316
oversized_source_files10

Key facts

5,260GitHub stars
100contributors
68commits, last 12 months
11days since last push
15releases
3bus factor
516open issues
crates.iopackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • Could not fetch crates package 'bindgen-tests' from its registry
  • Could not fetch crates package 'bindgen-integration' from its registry

More detail

Star and fork history 0 ★ / 822 ⇿
0Stars
822Forks
15Releases

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.

0200400600800796172012-042019-052026-07
Major 0Minor 5Patch 10

Each point covers 14 days.

OpenSSF Scorecard 6.0 / 10
6.0aggregate

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-08-08 20:02 UTC

10Binary-Artifactsno binaries found in the repo
3Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests21 out of 21 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
8Code-ReviewFound 18/21 approved changesets -- score normalized to 8
10Contributorsproject has 70 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained20 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
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
0Signed-ReleasesProject has not signed or included provenance with any releases.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
9Vulnerabilities1 existing vulnerabilities detected
Direct dependencies 19
RegistryPackageVersion constraintManifest
crates.iobindgenbindgen-cli/Cargo.toml
crates.ioenv_loggerbindgen-cli/Cargo.toml
crates.iologbindgen-cli/Cargo.toml
crates.ioproc-macro2bindgen-cli/Cargo.toml
crates.ioshlexbindgen-cli/Cargo.toml
crates.ioannotate-snippetsbindgen/Cargo.toml
crates.iobitflagsbindgen/Cargo.toml
crates.iocexprbindgen/Cargo.toml
crates.ioclang-sysbindgen/Cargo.toml
crates.ioclapbindgen/Cargo.toml
crates.ioclap_completebindgen/Cargo.toml
crates.iologbindgen/Cargo.toml
crates.ioprettypleasebindgen/Cargo.toml
crates.ioproc-macro2bindgen/Cargo.toml
crates.ioquotebindgen/Cargo.toml
crates.ioregexbindgen/Cargo.toml
crates.iorustc-hashbindgen/Cargo.toml
crates.ioshlexbindgen/Cargo.toml
crates.iosynbindgen/Cargo.toml
All dependencies 79

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

RegistryPackageVersionRelation
crates.ioannotate-snippets0.11.5direct
crates.iobitflags2.9.1direct
crates.iocexpr0.6.0direct
crates.ioclang-sys1.8.1direct
crates.ioclap4.4.18direct
crates.ioclap_complete4.4.10direct
crates.ioenv_logger0.10.2direct
crates.ioenv_logger0.8.4direct
crates.iolog0.4.27direct
crates.ioprettyplease0.2.35direct
crates.ioproc-macro21.0.95direct
crates.ioquote1.0.40direct
crates.ioregex1.11.1direct
crates.iorustc-hash2.1.1direct
crates.ioshlex2.0.1direct
crates.iosyn2.0.104direct
crates.ioaho-corasick1.1.3indirect
crates.ioanstream0.6.19indirect
crates.ioanstyle1.0.11indirect
crates.ioanstyle-parse0.2.7indirect
crates.ioanstyle-query1.1.3indirect
crates.ioanstyle-wincon3.0.9indirect
crates.ioblock0.1.6indirect
crates.iocc1.2.63indirect
crates.iocfg-if1.0.1indirect
crates.ioclap_builder4.4.18indirect
crates.ioclap_derive4.4.7indirect
crates.ioclap_lex0.6.0indirect
crates.iocolorchoice1.0.4indirect
crates.ioerrno0.3.13indirect
crates.iofastrand2.3.0indirect
crates.iofind-msvc-tools0.1.9indirect
crates.iogetrandom0.2.16indirect
crates.iogetrandom0.3.3indirect
crates.ioglob0.3.2indirect
crates.ioheck0.4.1indirect
crates.iohermit-abi0.5.2indirect
crates.iohumantime2.2.0indirect
crates.iois-terminal0.4.16indirect
crates.iois_terminal_polyfill1.70.1indirect
crates.iolibc0.2.186indirect
crates.iolibloading0.8.8indirect
crates.iolinux-raw-sys0.12.1indirect
crates.iomalloc_buf0.0.6indirect
crates.iomemchr2.7.5indirect
crates.iominimal-lexical0.2.1indirect
crates.ionom7.1.3indirect
crates.ioobjc0.2.7indirect
crates.ioonce_cell1.21.3indirect
crates.ioonce_cell_polyfill1.70.1indirect
crates.ioowo-colors4.2.2indirect
crates.ioquickcheck1.0.3indirect
crates.ior-efi5.3.0indirect
crates.iorand0.8.5indirect
crates.iorand_core0.6.4indirect
crates.ioregex-automata0.4.9indirect
crates.ioregex-syntax0.8.5indirect
crates.iorustix1.1.4indirect
crates.iosimilar2.7.0indirect
crates.iostrsim0.10.0indirect
crates.iotempfile3.27.0indirect
crates.iotermcolor1.4.1indirect
crates.iounicode-ident1.0.18indirect
crates.iounicode-width0.2.1indirect
crates.ioutf8parse0.2.2indirect
crates.iowasi0.11.1+wasi-snapshot-preview1indirect
crates.iowasi0.14.2+wasi-0.2.4indirect
crates.iowinapi-util0.1.9indirect
crates.iowindows-sys0.59.0indirect
crates.iowindows-targets0.52.6indirect
crates.iowindows_aarch64_gnullvm0.52.6indirect
crates.iowindows_aarch64_msvc0.52.6indirect
crates.iowindows_i686_gnu0.52.6indirect
crates.iowindows_i686_gnullvm0.52.6indirect
crates.iowindows_i686_msvc0.52.6indirect
crates.iowindows_x86_64_gnu0.52.6indirect
crates.iowindows_x86_64_gnullvm0.52.6indirect
crates.iowindows_x86_64_msvc0.52.6indirect
crates.iowit-bindgen-rt0.39.0indirect
Dependency advisories 1

This repository publishes no package the index resolves, so its own dependency graph was assessed — 79 packages, which also include development and test pins that never ship: 1 carry known advisories, of which 0 are direct.

PackageVersionRelationSeverityAdvisoriesFixed in
rand0.8.5indirectlow20.10.1

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

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.5.0, schema v0.31.0 — full methodology · metrics wiki.

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