colin-kiegel/rust-derive-builder
derive builder implementation for rust structs observed · 2026-08-28
Health v2 · maintenance only
50/100
- Activity 60
- Release rhythm 8
- 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: n/a
- age_days: 3679
- days_rel: 694
- days_push: 243
- n_releases_24m: 1
Adoption not part of the score
1539 stars · 101 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Rust crate providing a derive macro that automatically generates builder-pattern code for structs. It creates fluent setter methods and a build() constructor to simplify struct instantiation.
Use cases
- generate builder methods for rust structs
- avoid long constructor argument lists in rust
- implement the builder pattern via derive macro
- create structs with optional fields and defaults
- reduce boilerplate when constructing complex structs
When to choose
- you want automatic builder generation from struct definitions
- you need setter methods with sensible defaults and optional fields
- you prefer a declarative derive macro over hand-written builders
When to avoid
- your structs are simple and constructors suffice
- you need builders for enums or non-struct types
- you want runtime-configurable builders rather than compile-time generation
Facets
library · maturity active
serialization developer-tools developer-tools programming-languages rust builder-pattern derive-macros setter-methods proc-macro
2 sources
- readme: https://github.com/colin-kiegel/rust-derive-builder · fetched 2026-08-28 · e98952057b8b
- homepage: https://colin-kiegel.github.io/rust-derive-builder/ · fetched 2026-08-29 · 44136fa355b3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| colin-kiegel/rust-derive-builder | main | 50 |
For agents
markdown · JSON · MCP: product_card(name="colin-kiegel/rust-derive-builder")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem