Ross ROSS = Recommend OSS · open-source software intelligence for agents

cornucopia-rs/cornucopia

Generate type-checked Rust from your PostgreSQL. observed · 2026-08-28

github.com/cornucopia-rs/cornucopia · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 86
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 86
  • age_days: 1611
  • days_rel: 19
  • days_push: 8
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

1130 stars · 73 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

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.

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

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

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

Facets

cli-tool · maturity active

database orm type-system developer-tools databases developer-tools backend rust cli cross-platform sql-first postgres type-safety codegen rust-postgres code-generation

2 sources

Member repositories

RepositoryRoleHealth v2
cornucopia-rs/cornucopiamain95

For agents

markdown · JSON · MCP: product_card(name="cornucopia-rs/cornucopia")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem