{"adoption": {"forks": 51, "observed_at": "2026-08-28T04:03:23.396922+00:00", "stars": 1052}, "canonical_url": "https://ross.abutalabs.com/products/safer_ffi", "card": {"archived": false, "artifact_type": "library", "description": "Write safer FFI code in Rust without polluting it with unsafe code", "domain": ["developer-tools", "programming-languages", "cross-platform"], "enriched": true, "function": ["sdk", "developer-tools", "parser"], "health_score": 76, "homepage": "http://getditto.github.io/safer_ffi", "language": "Rust", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["getditto/safer_ffi"], "name": "getditto/safer_ffi", "platform": ["rust", "cpp", "c", "cross-platform"], "pushed_at": "2026-05-04T09:15:43+00:00", "repo": "getditto/safer_ffi", "stars": 1052, "tags": ["ffi", "bindings", "c-interop", "header-generation", "no-std", "unsafe-rust"], "topics": [], "urls": [], "use_cases": ["expose rust functions to c callers", "generate c headers from rust code", "write ffi bindings without unsafe code", "build a c-compatible static or dynamic library from rust", "call rust code from c or other languages"], "what_it_is": "safer_ffi is a Rust framework for writing foreign function interfaces without polluting code with unsafe blocks. It provides attribute macros to export Rust functions and types to C, including automatic C header generation.", "when_to_avoid": ["you need bindings between two non-rust languages", "you need stable, fully mature guarantees - it is still in an alpha/rc stage", "your project is pure rust with no ffi boundary"], "when_to_choose": ["you maintain a rust library consumed from c, c++, or other ffi-capable languages", "you want safe, readable ffi signatures instead of raw pointers", "you need automatic c header generation"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/safer_ffi", "repo": "getditto/safer_ffi", "role": "main", "score": 59}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.396922+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:59:43.337391+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bc5272e6533ec4c82870a0ff61e3174ebb75fc139cf95f2e207a028bef61c4f1", "fetched_at": "2026-08-28T04:03:23.396922+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getditto/safer_ffi"}, {"content_hash": "2523f68bc31e48bff9aef56931e7ba42d36c6155432c625d8539227321046b59", "fetched_at": "2026-08-29T13:01:04.672839+00:00", "kind": "homepage", "missing": false, "url": "http://getditto.github.io/safer_ffi"}, {"content_hash": "813c0a30f9525168667dee6941360e90e9f8d330cabbdcea7891ba479b39f095", "fetched_at": "2026-08-29T13:01:04.675457+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/safer_ffi"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.396922+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:59:43.337391+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bc5272e6533ec4c82870a0ff61e3174ebb75fc139cf95f2e207a028bef61c4f1", "fetched_at": "2026-08-28T04:03:23.396922+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getditto/safer_ffi"}, {"content_hash": "2523f68bc31e48bff9aef56931e7ba42d36c6155432c625d8539227321046b59", "fetched_at": "2026-08-29T13:01:04.672839+00:00", "kind": "homepage", "missing": false, "url": "http://getditto.github.io/safer_ffi"}, {"content_hash": "813c0a30f9525168667dee6941360e90e9f8d330cabbdcea7891ba479b39f095", "fetched_at": "2026-08-29T13:01:04.675457+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/safer_ffi"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:59:43.337391+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bc5272e6533ec4c82870a0ff61e3174ebb75fc139cf95f2e207a028bef61c4f1", "fetched_at": "2026-08-28T04:03:23.396922+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getditto/safer_ffi"}, {"content_hash": "2523f68bc31e48bff9aef56931e7ba42d36c6155432c625d8539227321046b59", "fetched_at": "2026-08-29T13:01:04.672839+00:00", "kind": "homepage", "missing": false, "url": "http://getditto.github.io/safer_ffi"}, {"content_hash": "813c0a30f9525168667dee6941360e90e9f8d330cabbdcea7891ba479b39f095", "fetched_at": "2026-08-29T13:01:04.675457+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/safer_ffi"}], "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:03:23.396922+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.396922+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.396922+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:59:43.337391+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bc5272e6533ec4c82870a0ff61e3174ebb75fc139cf95f2e207a028bef61c4f1", "fetched_at": "2026-08-28T04:03:23.396922+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getditto/safer_ffi"}, {"content_hash": "2523f68bc31e48bff9aef56931e7ba42d36c6155432c625d8539227321046b59", "fetched_at": "2026-08-29T13:01:04.672839+00:00", "kind": "homepage", "missing": false, "url": "http://getditto.github.io/safer_ffi"}, {"content_hash": "813c0a30f9525168667dee6941360e90e9f8d330cabbdcea7891ba479b39f095", "fetched_at": "2026-08-29T13:01:04.675457+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/safer_ffi"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.396922+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.396922+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:59:43.337391+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bc5272e6533ec4c82870a0ff61e3174ebb75fc139cf95f2e207a028bef61c4f1", "fetched_at": "2026-08-28T04:03:23.396922+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getditto/safer_ffi"}, {"content_hash": "2523f68bc31e48bff9aef56931e7ba42d36c6155432c625d8539227321046b59", "fetched_at": "2026-08-29T13:01:04.672839+00:00", "kind": "homepage", "missing": false, "url": "http://getditto.github.io/safer_ffi"}, {"content_hash": "813c0a30f9525168667dee6941360e90e9f8d330cabbdcea7891ba479b39f095", "fetched_at": "2026-08-29T13:01:04.675457+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/safer_ffi"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.396922+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.396922+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.396922+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:59:43.337391+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bc5272e6533ec4c82870a0ff61e3174ebb75fc139cf95f2e207a028bef61c4f1", "fetched_at": "2026-08-28T04:03:23.396922+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getditto/safer_ffi"}, {"content_hash": "2523f68bc31e48bff9aef56931e7ba42d36c6155432c625d8539227321046b59", "fetched_at": "2026-08-29T13:01:04.672839+00:00", "kind": "homepage", "missing": false, "url": "http://getditto.github.io/safer_ffi"}, {"content_hash": "813c0a30f9525168667dee6941360e90e9f8d330cabbdcea7891ba479b39f095", "fetched_at": "2026-08-29T13:01:04.675457+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/safer_ffi"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.396922+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:23.396922+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:59:43.337391+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bc5272e6533ec4c82870a0ff61e3174ebb75fc139cf95f2e207a028bef61c4f1", "fetched_at": "2026-08-28T04:03:23.396922+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getditto/safer_ffi"}, {"content_hash": "2523f68bc31e48bff9aef56931e7ba42d36c6155432c625d8539227321046b59", "fetched_at": "2026-08-29T13:01:04.672839+00:00", "kind": "homepage", "missing": false, "url": "http://getditto.github.io/safer_ffi"}, {"content_hash": "813c0a30f9525168667dee6941360e90e9f8d330cabbdcea7891ba479b39f095", "fetched_at": "2026-08-29T13:01:04.675457+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/safer_ffi"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:59:43.337391+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bc5272e6533ec4c82870a0ff61e3174ebb75fc139cf95f2e207a028bef61c4f1", "fetched_at": "2026-08-28T04:03:23.396922+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getditto/safer_ffi"}, {"content_hash": "2523f68bc31e48bff9aef56931e7ba42d36c6155432c625d8539227321046b59", "fetched_at": "2026-08-29T13:01:04.672839+00:00", "kind": "homepage", "missing": false, "url": "http://getditto.github.io/safer_ffi"}, {"content_hash": "813c0a30f9525168667dee6941360e90e9f8d330cabbdcea7891ba479b39f095", "fetched_at": "2026-08-29T13:01:04.675457+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/safer_ffi"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:59:43.337391+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bc5272e6533ec4c82870a0ff61e3174ebb75fc139cf95f2e207a028bef61c4f1", "fetched_at": "2026-08-28T04:03:23.396922+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getditto/safer_ffi"}, {"content_hash": "2523f68bc31e48bff9aef56931e7ba42d36c6155432c625d8539227321046b59", "fetched_at": "2026-08-29T13:01:04.672839+00:00", "kind": "homepage", "missing": false, "url": "http://getditto.github.io/safer_ffi"}, {"content_hash": "813c0a30f9525168667dee6941360e90e9f8d330cabbdcea7891ba479b39f095", "fetched_at": "2026-08-29T13:01:04.675457+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/safer_ffi"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:59:43.337391+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bc5272e6533ec4c82870a0ff61e3174ebb75fc139cf95f2e207a028bef61c4f1", "fetched_at": "2026-08-28T04:03:23.396922+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getditto/safer_ffi"}, {"content_hash": "2523f68bc31e48bff9aef56931e7ba42d36c6155432c625d8539227321046b59", "fetched_at": "2026-08-29T13:01:04.672839+00:00", "kind": "homepage", "missing": false, "url": "http://getditto.github.io/safer_ffi"}, {"content_hash": "813c0a30f9525168667dee6941360e90e9f8d330cabbdcea7891ba479b39f095", "fetched_at": "2026-08-29T13:01:04.675457+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/safer_ffi"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 80, "longevity": 100, "rhythm": 8}, "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": 2287, "days_push": 121, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 59, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}