Decision Workspace
ffi-enum-macros vs ffi-enum vs num_enum
Side-by-side comparison of Rust crates
45
ffi-enum-macros
growingv0.1.5
Simply write and use `enum`s like rust native enums, freely passing through ffi
38
ffi-enum
growingv0.1.5
Simply write and use `enum`s like rust native enums, freely passing through ffi
60
num_enum
growingv0.7.6
Procedural macros to make inter-operation between primitives and enums easier.
Core Metrics
| ffi-enum-macros | ffi-enum | num_enum | |
|---|---|---|---|
| Health Score | 45 | 38 | 60 |
| Total Downloads | 4.7K | 4.5K | 289.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 0 | 14.5K |
| Releases | 6 | 6 | 33 |
| Last Updated | 352d ago | 352d ago | 208d ago |
| Age | 1y 7m | 1y 7m | 7y 11m |
Health Breakdown
ffi-enum-macros
Maintenance
8
Quality
15
Community
5
Popularity
4
Documentation
13
ffi-enum
Maintenance
8
Quality
10
Community
3
Popularity
4
Documentation
13
num_enum
Maintenance
11
Quality
15
Community
14
Popularity
8
Documentation
12
Technical Details
| ffi-enum-macros | ffi-enum | num_enum | |
|---|---|---|---|
| Version | 0.1.5 | 0.1.5 | 0.7.6 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | BSD-3-Clause OR MIT OR Apache-2.0 |
| Dependencies | 3 | 4 | 6 |
| Crate Size | 9KB | 9KB | 22KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 16.7% | 3.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.70.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •num_enum leads with a health score of 60/100, but none of the options score above 80.
- •num_enum is depended on by 14.5K crates — strongest ecosystem trust.