{"adoption": {"forks": 73, "observed_at": "2026-08-28T04:03:42.355056+00:00", "stars": 1130}, "canonical_url": "https://ross.abutalabs.com/products/cornucopia", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Generate type-checked Rust from your PostgreSQL.", "domain": ["databases", "developer-tools", "backend"], "enriched": true, "function": ["database", "orm", "type-system", "developer-tools"], "health_score": 100, "homepage": null, "language": "Rust", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["cornucopia-rs/cornucopia"], "name": "cornucopia-rs/cornucopia", "platform": ["rust", "cli", "cross-platform"], "pushed_at": "2026-08-25T21:05:21+00:00", "repo": "cornucopia-rs/cornucopia", "stars": 1130, "tags": ["sql-first", "postgres", "type-safety", "codegen", "rust-postgres", "code-generation"], "topics": ["postgres", "postgresql", "rust", "sql", "database"], "urls": [], "use_cases": ["generate type-safe Rust code from PostgreSQL queries", "catch SQL errors at compile time instead of runtime", "write SQL-first database access without an ORM", "map custom Postgres types and enums to Rust structs", "generate sync and async database clients with connection pooling"], "what_it_is": "Cornucopia is a Rust code generator that produces type-checked Rust interfaces from PostgreSQL queries. It validates queries against a live database and emits a standalone crate with type-safe, high-performance database access functions.", "when_to_avoid": ["you need multi-database support beyond PostgreSQL", "you want a runtime ORM or dynamic query builder", "your project does not use Rust"], "when_to_choose": ["you prefer writing plain SQL over ORM query builders", "you want compile-time guarantees that queries match your schema", "you need performance close to hand-written rust-postgres code", "you use PostgreSQL-specific features like custom types, enums, and arrays"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cornucopia", "repo": "cornucopia-rs/cornucopia", "role": "main", "score": 95}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.355056+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:38:14.473739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72581a2bcaab01953f7b2c34cebe4e179e9397e97acbe54bbf75bd017a708216", "fetched_at": "2026-08-28T04:03:42.355056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cornucopia-rs/cornucopia"}, {"content_hash": "862a4cb709813bb8b5fa522091d95b8867c32f35361f480e48f8273f29a99baf", "fetched_at": "2026-08-29T12:42:35.134310+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cornucopia"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.355056+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:38:14.473739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72581a2bcaab01953f7b2c34cebe4e179e9397e97acbe54bbf75bd017a708216", "fetched_at": "2026-08-28T04:03:42.355056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cornucopia-rs/cornucopia"}, {"content_hash": "862a4cb709813bb8b5fa522091d95b8867c32f35361f480e48f8273f29a99baf", "fetched_at": "2026-08-29T12:42:35.134310+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cornucopia"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:38:14.473739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72581a2bcaab01953f7b2c34cebe4e179e9397e97acbe54bbf75bd017a708216", "fetched_at": "2026-08-28T04:03:42.355056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cornucopia-rs/cornucopia"}, {"content_hash": "862a4cb709813bb8b5fa522091d95b8867c32f35361f480e48f8273f29a99baf", "fetched_at": "2026-08-29T12:42:35.134310+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cornucopia"}], "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:42.355056+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.355056+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.355056+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:38:14.473739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72581a2bcaab01953f7b2c34cebe4e179e9397e97acbe54bbf75bd017a708216", "fetched_at": "2026-08-28T04:03:42.355056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cornucopia-rs/cornucopia"}, {"content_hash": "862a4cb709813bb8b5fa522091d95b8867c32f35361f480e48f8273f29a99baf", "fetched_at": "2026-08-29T12:42:35.134310+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cornucopia"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.355056+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.355056+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:38:14.473739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72581a2bcaab01953f7b2c34cebe4e179e9397e97acbe54bbf75bd017a708216", "fetched_at": "2026-08-28T04:03:42.355056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cornucopia-rs/cornucopia"}, {"content_hash": "862a4cb709813bb8b5fa522091d95b8867c32f35361f480e48f8273f29a99baf", "fetched_at": "2026-08-29T12:42:35.134310+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cornucopia"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.355056+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.355056+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.355056+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:38:14.473739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72581a2bcaab01953f7b2c34cebe4e179e9397e97acbe54bbf75bd017a708216", "fetched_at": "2026-08-28T04:03:42.355056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cornucopia-rs/cornucopia"}, {"content_hash": "862a4cb709813bb8b5fa522091d95b8867c32f35361f480e48f8273f29a99baf", "fetched_at": "2026-08-29T12:42:35.134310+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cornucopia"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.355056+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:42.355056+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:38:14.473739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72581a2bcaab01953f7b2c34cebe4e179e9397e97acbe54bbf75bd017a708216", "fetched_at": "2026-08-28T04:03:42.355056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cornucopia-rs/cornucopia"}, {"content_hash": "862a4cb709813bb8b5fa522091d95b8867c32f35361f480e48f8273f29a99baf", "fetched_at": "2026-08-29T12:42:35.134310+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cornucopia"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:38:14.473739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72581a2bcaab01953f7b2c34cebe4e179e9397e97acbe54bbf75bd017a708216", "fetched_at": "2026-08-28T04:03:42.355056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cornucopia-rs/cornucopia"}, {"content_hash": "862a4cb709813bb8b5fa522091d95b8867c32f35361f480e48f8273f29a99baf", "fetched_at": "2026-08-29T12:42:35.134310+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cornucopia"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:38:14.473739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72581a2bcaab01953f7b2c34cebe4e179e9397e97acbe54bbf75bd017a708216", "fetched_at": "2026-08-28T04:03:42.355056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cornucopia-rs/cornucopia"}, {"content_hash": "862a4cb709813bb8b5fa522091d95b8867c32f35361f480e48f8273f29a99baf", "fetched_at": "2026-08-29T12:42:35.134310+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cornucopia"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:38:14.473739+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72581a2bcaab01953f7b2c34cebe4e179e9397e97acbe54bbf75bd017a708216", "fetched_at": "2026-08-28T04:03:42.355056+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cornucopia-rs/cornucopia"}, {"content_hash": "862a4cb709813bb8b5fa522091d95b8867c32f35361f480e48f8273f29a99baf", "fetched_at": "2026-08-29T12:42:35.134310+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cornucopia"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 86}, "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": 1611, "days_push": 8, "days_rel": 19, "gap_med": 86, "n_releases_24m": 2}, "score": 95, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}