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

Peternator7/strum

A small rust library for adding custom derives to enums observed · 2026-08-28

github.com/Peternator7/strum · homepage · Rust · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

68/100

  • Activity 70
  • Release rhythm 47
  • 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: 152
  • age_days: 3496
  • days_rel: 192
  • days_push: 180
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

2429 stars · 188 forks observed · 2026-08-28

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

Strum is a small Rust library providing macros and traits for working with enums and strings. It offers custom derives like EnumString, Display, EnumIter, and EnumMessage to convert between enums and strings, iterate variants, and attach metadata.

Use cases

  • convert strings to enum variants in rust
  • convert enum variants to strings
  • iterate over all variants of a rust enum
  • add custom properties or messages to enum variants
  • convert integers to enums via discriminant
  • count the number of enum variants

When to choose

  • you need string parsing or formatting for rust enums
  • you want to iterate or enumerate enum variants
  • you need static string representations of enum variants

When to avoid

  • your project must support rustc older than 1.71.1
  • you need serialization to structured formats like JSON or YAML rather than strings

Facets

library · maturity stable

serialization developer-tools developer-tools programming-languages rust cross-platform enums proc-macros derive-macros string-conversion rust-library

2 sources

Member repositories

RepositoryRoleHealth v2
Peternator7/strummain68

For agents

markdown · JSON · MCP: product_card(name="Peternator7/strum")

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