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

idanarye/rust-typed-builder

Compile-time type-checked builder derive observed · 2026-08-28

github.com/idanarye/rust-typed-builder · homepage · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

83/100

  • Activity 95
  • Release rhythm 57
  • Longevity 100
How is this computed?

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

  • gap_med: 0.0
  • age_days: 3255
  • days_rel: 287
  • days_push: 32
  • n_releases_24m: 37

Full methodology

Adoption not part of the score

1201 stars · 60 forks observed · 2026-08-28

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

A Rust proc-macro crate that derives a compile-time type-checked builder pattern for structs. It enforces at compile time that all mandatory fields are set exactly once, while supporting defaults and optional fields.

Use cases

  • generate builders for rust structs
  • enforce named constructor arguments at compile time
  • make struct fields optional with defaults
  • prevent setting a field twice in a builder
  • replace verbose constructor boilerplate in rust

When to choose

  • you want compile-time guarantees that all required fields are set before build
  • you want setters that reject duplicate field assignment at compile time
  • you need optional fields with default values in a builder
  • you want a lightweight derive macro rather than a runtime builder

When to avoid

  • you need a builder you can pass around or clone - use derive-builder instead
  • you want clean compiler errors; missing/duplicate fields surface as deprecation warnings
  • you need runtime flexibility or fancy builder tricks with the generated type

Facets

library · maturity active

boilerplate type-system developer-tools developer-tools programming-languages rust cross-platform builder-pattern proc-macro derive-macro compile-time-verification named-arguments

1 source

Member repositories

RepositoryRoleHealth v2
idanarye/rust-typed-buildermain83

For agents

markdown · JSON · MCP: product_card(name="idanarye/rust-typed-builder")

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