rustio rustio.net
45

struct-to-enum

v1.1.2 Experimental

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

  • โœ“Actively maintained (updated 9d ago)
  • โœ“Tiny footprint (5KB, 1 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
65
Dependents
0
Releases
5
Size
5KB

Deep Insights

๐Ÿ“Š
Download activity

65 downloads in the last 30 days (2/day avg).

๐Ÿชถ
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 13/25

Recency, release consistency, active ratio

Quality 13/25

Yanked ratio, deps, size, maturity, features

Community 5/20

Reverse deps, ownership, ecosystem

Popularity 2/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
1/day avg
05101512/291/162/32/213/113/28

Version Adoption

v1.0.0
26%
v1.0.1
26%
v0.0.1
24%
v1.1.2
24%

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