Decision Workspace
ffi-enum vs ffi-enum-macros vs num_enum
Side-by-side comparison of Rust crates
41
ffi-enum
growingv0.1.5
Simply write and use `enum`s like rust native enums, freely passing through ffi
48
ffi-enum-macros
growingv0.1.5
Simply write and use `enum`s like rust native enums, freely passing through ffi
67
num_enum
growingv0.7.6
Procedural macros to make inter-operation between primitives and enums easier.
Core Metrics
| ffi-enum | ffi-enum-macros | num_enum | |
|---|---|---|---|
| Health Score | 41 | 48 | 67 |
| Total Downloads | 4.4K | 4.5K | 179.9M |
| 30d Downloads | 34 | 82 | 13.1M |
| Dependents | 0 | 6 | 11.5K |
| Releases | 6 | 6 | 33 |
| Last Updated | 155d ago | 155d ago | 12d ago |
| Age | 1y 1m | 1y 1m | 7y 4m |
Health Breakdown
ffi-enum
Maintenance
11
Quality
10
Community
3
Popularity
4
Documentation
13
ffi-enum-macros
Maintenance
11
Quality
15
Community
5
Popularity
4
Documentation
13
num_enum
Maintenance
18
Quality
15
Community
14
Popularity
8
Documentation
12
Technical Details
| ffi-enum | ffi-enum-macros | 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 | 4 | 3 | 6 |
| Crate Size | 9KB | 9KB | 22KB |
| Features | 0 | 0 | 4 |
| Yanked % | 16.7% | 0.0% | 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 67/100, but none of the options score above 80.
- •num_enum is depended on by 11.5K crates — strongest ecosystem trust.