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 6+ years
  • โœ“Stable API (1.x for 9+ years)
  • โœ“Tiny footprint (3KB, 3 deps)
  • โœ“Permissive license (MIT/Apache-2.0)

Security

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

Deep Insights

๐Ÿ“Š
Steady growth

575.2K downloads in the last 30 days (19.2K/day), up 6% from the previous period.

โœ…
Stable for 9+ years

The API has been stable (1.x) for over 9 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, c2-mmap-gpio. 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
1K/day avg-100%
010K20K30K8/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v1.0.0
99%
v0.1.0
1%

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