lloydmeta/frunk
Funktional generic type-level programming in Rust: HList, Coproduct, Generic, LabelledGeneric, Validated, Monoid and friends. observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 95
- Release rhythm 59
- 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: 384
- age_days: 3607
- days_rel: 60
- days_push: 32
- n_releases_24m: 2
Adoption not part of the score
1459 stars · 70 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Frunk is a Rust library providing functional programming and type-level programming tools such as HLists, Coproducts, Generic/LabelledGeneric derivations, Validated, Semigroup, Monoid, and lenses. It enables datatype-generic programming patterns in Rust with compile-time guarantees.
Use cases
- work with heterogeneous lists in rust
- convert between structs and tuples generically
- derive generic representations for my types
- accumulate validation errors functionally
- combine monoids like tuples and options
- use coproducts instead of enums for generic code
- write type-level generic programming in rust
- access struct fields via lenses
When to choose
- you need datatype-generic programming or generic representations in Rust
- you want statically typed heterogeneous lists or coproducts
- you need functional abstractions like Monoid, Semigroup, or Validated
- you want to build libraries that derive conversions between types
When to avoid
- you only need simple everyday application logic without generic abstractions
- you want to avoid compile-time overhead from heavy type-level machinery
- your team is unfamiliar with functional programming concepts and type-level programming
Facets
library · maturity stable
serialization developer-tools programming-languages developer-tools rust hlist coproduct type-level-programming generic-programming monoid semigroup validated lenses functional-programming derives algorithms
3 sources
- readme: https://github.com/lloydmeta/frunk · fetched 2026-08-28 · 386945e5b475
- homepage: https://beachape.com/frunk/ · fetched 2026-08-29 · 44136fa355b3
- registry_crates: https://crates.io/api/v1/crates/frunk · fetched 2026-08-29 · b4bd95bf0947
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lloydmeta/frunk | main | 83 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem