rustio rustio.net
47

struct-to-enum

v1.1.2 Growing

Derive macros to generate enums from struct fields - compile-time safe field selection and dispatch

MIT OR Apache-2.0 Edition 2021 MSRV 1.71.0
Rust patterns #macro#enum#field#derive#struct

Quick Verdict

  • โœ“Tiny footprint (5KB, 1 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
3.1K
Dependents
0
Releases
5
Size
5KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

1.6K downloads in the last 30 days (53/day), up 58% from the previous period.

๐Ÿชถ
Minimal dependencies

Only 1 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

At 5KB, struct-to-enum is lightweight. Small crate size correlates with focused, well-scoped functionality.

โš ๏ธ
Notable yanked versions

20% of releases have been yanked. Check version history before pinning.

Health Breakdown

Maintenance 11/25

Recency, release consistency, active ratio

Quality 15/25

Yanked ratio, deps, size, maturity, features

Community 5/20

Reverse deps, ownership, ecosystem

Popularity 4/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
3/day avg
0204060801008/229/99/2710/1511/211/19

Version Adoption

v1.1.2
98%
v0.0.1
1%
v1.0.0
1%
v1.0.1
1%

Release Timeline

5 releases1 yankedsince 2026
J
F
M
A
M
J
J
A
S
O
N
D
2026
5
Less
More|
Yanked

Feature Flags

default =["derive"]

derive*nested-namenested-type

README

Loading README...

Maintainers

Dependencies
1
direct dependencies
Dependents
0
crates depend on struct-to-enum

Similar Crates