rustler 0.8.0

Safe Rust wrappers for creating Erlang NIF functions failed to build rustler-0.8.0
Please check build logs and if you believe this is' fault, report into this issue report.

Github Example

Rustler is a library for writing Erlang NIFs in safe Rust code. That means there should be no ways to crash the BEAM (Erlang VM). The library provides facilities for generating the boilerplate for interacting with the BEAM, handles encoding and decoding of Erlang terms, and catches rust panics before they unwind into C.

The library provides functionality for both Erlang and Elixir, however Elixir is favored as of now.

This crate provides the entire runtime library for rustler. Code generators are located in the rustler_codegen library.

Getting Started

Rustler has a Mix archive that provides several commands which makes working with Rustler easier, including project generators, a tool for validating your Rust and Erlang environment, as well as build utilities.

As long as you have Elixir and Mix installed, you can install the archive by doing mix archive.install When the archive is installed, you can generate a new Rustler project by doing mix <path>, and following the instructions.