Please check build logs and if you believe this is docs.rs' fault, report into this issue report.
A crate for creating Erlang NIF modules in Rust. This crate exposes the raw C NIF API which can be used directly or as a foundation for higher layer interface crates. Supported under Unix and Windows.
See the crate documention.
See examples of use:
- rust.mk for a sample Rust NIF module.
- rebar3_rust a rebar3 plugin inspired by
rust.mkthat helps integrate Rust code inside Erlang projects.
- rustfromerl a demo project showing performance differences between Erlang code and a simmilar Rust NIF implementation.
Thanks go to Radosław Szymczyszyn for bootstrapping me on this Rust FFI adventure and providing the original automatic bindings.