Decision Workspace
otter-nif vs enif-ffi vs otter-nif-macros
Side-by-side comparison of Rust crates
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.
52
enif-ffi
experimentalv0.2.0
Raw FFI bindings to the Erlang NIF API (erl_nif), version-gated by OTP release.
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
| otter-nif | enif-ffi | otter-nif-macros | |
|---|---|---|---|
| Health Score | 49 | 52 | 50 |
| Total Downloads | 171 | 346 | 242 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 2 | 2 |
| Releases | 2 | 2 | 3 |
| Last Updated | 107d ago | 111d ago | 107d ago |
| Age | 3m | 3m | 3m |
Health Breakdown
otter-nif
Maintenance
11
Quality
15
Community
8
Popularity
3
Documentation
12
enif-ffi
Maintenance
11
Quality
16
Community
7
Popularity
3
Documentation
15
otter-nif-macros
Maintenance
13
Quality
15
Community
7
Popularity
3
Documentation
12
Technical Details
| otter-nif | enif-ffi | otter-nif-macros | |
|---|---|---|---|
| Version | 0.3.1 | 0.2.0 | 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 | 5 | 1 | 3 |
| Crate Size | 84KB | 55KB | 22KB |
| Features | 3 | 3 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.82 | 1.77 | 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.