{"adoption": {"forks": 386, "observed_at": "2026-08-28T04:07:31.184695+00:00", "stars": 2945}, "canonical_url": "https://ross.abutalabs.com/products/cbindgen", "card": {"archived": false, "artifact_type": "cli-tool", "description": "A project for generating C bindings from Rust code", "domain": ["developer-tools", "programming-languages", "cross-platform"], "enriched": true, "function": ["compiler", "developer-tools", "parser"], "health_score": 98, "homepage": null, "language": "Rust", "license": "MPL-2.0", "license_family": "copyleft", "maturity": "active", "member_repos": ["mozilla/cbindgen"], "name": "mozilla/cbindgen", "platform": ["rust", "cpp", "c", "cli", "cross-platform"], "pushed_at": "2026-08-22T18:46:24+00:00", "repo": "mozilla/cbindgen", "stars": 2945, "tags": ["ffi", "bindings", "code-generation", "c-headers", "rust-interop"], "topics": [], "urls": [], "use_cases": ["generate C headers from a Rust library", "create C++ bindings for Rust code for FFI", "automate header generation in a build.rs build script", "expose a Rust crate to C or C++ consumers", "keep C header files in sync with Rust source code"], "what_it_is": "cbindgen is a tool that generates C and C++11 header files from Rust crates that expose a public C API. It can be used as a standalone CLI program or embedded as a Rust library in build scripts, and its output reflects Rust's actual type layout and ABI guarantees.", "when_to_avoid": ["you need bindings for languages other than C or C++ (consider alternatives like uniffi or PyO3)", "your Rust crate does not expose a public C API", "you need guaranteed support for an unusual edge case, since feature development is ad hoc and gaps may require filing issues or contributing patches"], "when_to_choose": ["you maintain a Rust library with a cdylib or staticlib C API and need matching headers", "you want machine-generated headers that reflect Rust's ABI guarantees instead of hand-written ones", "you need both C and C++11 headers emitted from the same crate", "you want header generation integrated into your build process"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cbindgen", "repo": "mozilla/cbindgen", "role": "main", "score": 91}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.184695+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:32:54.529513+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7c3c6ad06a0588619d69ec4694c732f7fe81642ee10a3d6dd7b883f0c90fe19b", "fetched_at": "2026-08-28T04:07:31.184695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozilla/cbindgen"}, {"content_hash": "882d589bb1f5585ab7e5607dc450fdc0f9d194385475c81ad563b0fed5cd5cfe", "fetched_at": "2026-08-29T09:48:05.598096+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cbindgen"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.184695+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:32:54.529513+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7c3c6ad06a0588619d69ec4694c732f7fe81642ee10a3d6dd7b883f0c90fe19b", "fetched_at": "2026-08-28T04:07:31.184695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozilla/cbindgen"}, {"content_hash": "882d589bb1f5585ab7e5607dc450fdc0f9d194385475c81ad563b0fed5cd5cfe", "fetched_at": "2026-08-29T09:48:05.598096+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cbindgen"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:32:54.529513+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7c3c6ad06a0588619d69ec4694c732f7fe81642ee10a3d6dd7b883f0c90fe19b", "fetched_at": "2026-08-28T04:07:31.184695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozilla/cbindgen"}, {"content_hash": "882d589bb1f5585ab7e5607dc450fdc0f9d194385475c81ad563b0fed5cd5cfe", "fetched_at": "2026-08-29T09:48:05.598096+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cbindgen"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.184695+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.184695+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.184695+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:32:54.529513+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7c3c6ad06a0588619d69ec4694c732f7fe81642ee10a3d6dd7b883f0c90fe19b", "fetched_at": "2026-08-28T04:07:31.184695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozilla/cbindgen"}, {"content_hash": "882d589bb1f5585ab7e5607dc450fdc0f9d194385475c81ad563b0fed5cd5cfe", "fetched_at": "2026-08-29T09:48:05.598096+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cbindgen"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.184695+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.184695+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:32:54.529513+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7c3c6ad06a0588619d69ec4694c732f7fe81642ee10a3d6dd7b883f0c90fe19b", "fetched_at": "2026-08-28T04:07:31.184695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozilla/cbindgen"}, {"content_hash": "882d589bb1f5585ab7e5607dc450fdc0f9d194385475c81ad563b0fed5cd5cfe", "fetched_at": "2026-08-29T09:48:05.598096+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cbindgen"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.184695+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.184695+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.184695+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:32:54.529513+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7c3c6ad06a0588619d69ec4694c732f7fe81642ee10a3d6dd7b883f0c90fe19b", "fetched_at": "2026-08-28T04:07:31.184695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozilla/cbindgen"}, {"content_hash": "882d589bb1f5585ab7e5607dc450fdc0f9d194385475c81ad563b0fed5cd5cfe", "fetched_at": "2026-08-29T09:48:05.598096+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cbindgen"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.184695+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:31.184695+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:32:54.529513+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7c3c6ad06a0588619d69ec4694c732f7fe81642ee10a3d6dd7b883f0c90fe19b", "fetched_at": "2026-08-28T04:07:31.184695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozilla/cbindgen"}, {"content_hash": "882d589bb1f5585ab7e5607dc450fdc0f9d194385475c81ad563b0fed5cd5cfe", "fetched_at": "2026-08-29T09:48:05.598096+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cbindgen"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:32:54.529513+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7c3c6ad06a0588619d69ec4694c732f7fe81642ee10a3d6dd7b883f0c90fe19b", "fetched_at": "2026-08-28T04:07:31.184695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozilla/cbindgen"}, {"content_hash": "882d589bb1f5585ab7e5607dc450fdc0f9d194385475c81ad563b0fed5cd5cfe", "fetched_at": "2026-08-29T09:48:05.598096+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cbindgen"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:32:54.529513+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7c3c6ad06a0588619d69ec4694c732f7fe81642ee10a3d6dd7b883f0c90fe19b", "fetched_at": "2026-08-28T04:07:31.184695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozilla/cbindgen"}, {"content_hash": "882d589bb1f5585ab7e5607dc450fdc0f9d194385475c81ad563b0fed5cd5cfe", "fetched_at": "2026-08-29T09:48:05.598096+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cbindgen"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:32:54.529513+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7c3c6ad06a0588619d69ec4694c732f7fe81642ee10a3d6dd7b883f0c90fe19b", "fetched_at": "2026-08-28T04:07:31.184695+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mozilla/cbindgen"}, {"content_hash": "882d589bb1f5585ab7e5607dc450fdc0f9d194385475c81ad563b0fed5cd5cfe", "fetched_at": "2026-08-29T09:48:05.598096+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cbindgen"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 75}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3430, "days_push": 11, "days_rel": 84, "gap_med": 70, "n_releases_24m": 6}, "score": 91, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}