# JelteF/derive_more

Some more derive(Trait) options

Repository: https://github.com/JelteF/derive_more
Canonical: https://ross.abutalabs.com/products/derive_more
Language: Rust
License: MIT
License Family: permissive
Topics: derive, macros, developer-tools, rust, trait, newtype
Last push: 2026-07-22T22:42:37+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 62, longevity 100
- inputs: {"age_days": 3814, "days_push": 42, "days_rel": 254, "gap_med": 19, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2130, forks 152 (observed 2026-08-28T04:06:17.123236+00:00)

## What it is
A Rust crate providing many additional #[derive(...)] macros for common standard traits like Add, From, Into, Display, and Not. It eliminates boilerplate when wrapping basic types in newtypes or custom structs and enums.

## Use cases
- derive standard traits on newtype wrappers without manual implementations
- reduce boilerplate for operator traits like Add, Mul, Not on custom structs
- auto-generate Display formatting for structs and enums
- convert between tuples and custom structs via From/Into derives
- implement FromStr, TryFrom, and iterator traits declaratively

## When to choose
- you use the newtype pattern and lose trait implementations on wrapped types
- you want to cut down repetitive manual trait impls in Rust
- you need Display or conversion traits generated with custom formatting

## When to avoid
- you need highly customized trait behavior beyond what derives can express
- your project avoids proc-macro dependencies or has strict compile-time budgets
- you only need one or two trivial impls that are faster to write by hand

## Facets
- artifact type: library
- maturity: stable
- function: boilerplate, developer-tools
- domain: developer-tools, programming-languages
- platform: rust
- tags: derive-macros, traits, newtype-pattern, proc-macros, rust-crate, macros

## Member repositories
- JelteF/derive_more (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:17.123236+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:52:21.054822+00:00, confidence not recorded.
  - readme: https://github.com/JelteF/derive_more (fetched 2026-08-28T04:06:17.123236+00:00, sha 7aa1a450e3c0)
  - registry_crates: https://crates.io/api/v1/crates/derive_more (fetched 2026-08-29T10:32:10.840408+00:00, sha 44576d3d6462)
- Data as of 2026-08-30T08:39:29.467469+00:00.
