Decision Workspace
enif-ffi vs otter-nif vs otter-nif-macros
Side-by-side comparison of Rust crates
52
enif-ffi
experimentalv0.2.0
Raw FFI bindings to the Erlang NIF API (erl_nif), version-gated by OTP release.
49
otter-nif
experimentalv0.3.1
Write Erlang NIFs in Rust. Direct mapping of the NIF C ABI with compile-time lifetime safety and no hidden magic.
50
otter-nif-macros
experimentalv0.3.1
Procedural macros for otter-nif (Erlang NIFs in Rust). Re-exported through otter-nif; not used directly.
Core Metrics
| enif-ffi | otter-nif | otter-nif-macros | |
|---|---|---|---|
| Health Score | 52 | 49 | 50 |
| Total Downloads | 346 | 171 | 242 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2 | 3 | 2 |
| Releases | 2 | 2 | 3 |
| Last Updated | 111d ago | 107d ago | 107d ago |
| Age | 3m | 3m | 3m |
Health Breakdown
enif-ffi
Maintenance
11
Quality
16
Community
7
Popularity
3
Documentation
15
otter-nif
Maintenance
11
Quality
15
Community
8
Popularity
3
Documentation
12
otter-nif-macros
Maintenance
13
Quality
15
Community
7
Popularity
3
Documentation
12
Technical Details
| enif-ffi | otter-nif | otter-nif-macros | |
|---|---|---|---|
| Version | 0.2.0 | 0.3.1 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 5 | 3 |
| Crate Size | 55KB | 84KB | 22KB |
| Features | 3 | 3 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.77 | 1.82 | 1.56 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enif-ffi leads with a health score of 52/100, but none of the options score above 80.