alekratz/enum-methods

Method generation for enumerated types in Rust

44
/ 100
Emerging

This project helps Rust developers quickly add common 'getter' and 'is-a' methods to their `enum` types. Instead of manually writing code to check the type and extract values, you define your `enum` and then automatically generate these helper methods. This tool is for Rust programmers who frequently work with `enum` types and want to reduce repetitive boilerplate code.

12 stars and 12,437 monthly downloads. No commits in the last 6 months.

Use this if you are a Rust developer looking to reduce manual coding for common `enum` value extraction and type checking.

Not ideal if you need highly customized method logic for your enums that goes beyond simple value retrieval or type checking.

Rust programming developer tools code generation enum management software development
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 14 / 25
Maturity 16 / 25
Community 14 / 25

How are scores calculated?

Stars

12

Forks

3

Language

Rust

License

Apache-2.0

Last pushed

Apr 11, 2019

Monthly downloads

12,437

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/alekratz/enum-methods"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.