Decision Workspace
rustler_sys vs enif-ffi vs otter-nif
Side-by-side comparison of Rust crates
62
rustler_sys
growingv2.4.3
Create Erlang NIF modules in Rust using the C NIF API.
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.
Core Metrics
| rustler_sys | enif-ffi | otter-nif | |
|---|---|---|---|
| Health Score | 62 | 52 | 49 |
| Total Downloads | 5.4M | 346 | 171 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 26 | 2 | 3 |
| Releases | 12 | 2 | 2 |
| Last Updated | 795d ago | 111d ago | 107d ago |
| Age | 7y 1m | 3m | 3m |
Health Breakdown
rustler_sys
Maintenance
5
Quality
23
Community
13
Popularity
8
Documentation
13
enif-ffi
Maintenance
11
Quality
16
Community
7
Popularity
3
Documentation
15
otter-nif
Maintenance
11
Quality
15
Community
8
Popularity
3
Documentation
12
Technical Details
| rustler_sys | enif-ffi | otter-nif | |
|---|---|---|---|
| Version | 2.4.3 | 0.2.0 | 0.3.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 1 | 5 |
| Crate Size | 14KB | 55KB | 84KB |
| Features | 5 | 3 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.77 | 1.82 |
| Owners | 4 | 1 | 1 |
Links
Quick Verdict
- •rustler_sys leads with a health score of 62/100, but none of the options score above 80.
- •⚠ rustler_sys has not been updated in over a year.
- •enif-ffi, otter-nif are pre-1.0 — API may change.