rustio rustio.net
51

derive-try-from-primitive

v1.0.0 Growing

Custom derive a try_from method for primitive to enum conversions

MIT/Apache-2.0 Edition 2018
#enum#custom#derive#primitive#tryfrom

Quick Verdict

  • โœ•Not updated for 5+ years
  • โœ“Stable API (1.x for 8+ years)
  • โœ“Tiny footprint (3KB, 3 deps)
  • โœ“Permissive license (MIT/Apache-2.0)

Security

Checking security advisories...
Downloads
4.8M
Dependents
54
Releases
2
Size
3KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

398.5K downloads in the last 30 days (13.3K/day), up 28% from the previous period.

โœ…
Stable for 8+ years

The API has been stable (1.x) for over 8 years with 2 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿชถ
Minimal dependencies

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

๐Ÿ“
Compact crate

At 3KB, derive-try-from-primitive is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include openvpn-plugin, dtn7-plus, w5500, windows-drives, flash-lso. When high-quality crates choose derive-try-from-primitive, it's a strong quality signal.

Health Breakdown

Maintenance 3/25

Recency, release consistency, active ratio

Quality 20/25

Yanked ratio, deps, size, maturity, features

Community 8/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
10K/day avg+118%
05K10K15K20K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v1.0.0
98%
v0.1.0
2%

Release Timeline

2 releasessince 2017
J
F
M
A
M
J
J
A
S
O
N
D
2017
1
2018
2019
2020
1
2021
2022
2023
2024
2025
2026
Less
More

README

Loading README...

Maintainers

Dependencies
3
direct dependencies
Dependents
54
crates depend on derive-try-from-primitive

Similar Crates