Please check build logs and if you believe this is docs.rs' fault, report into this issue report.
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.
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 https://github.com/hansihe/rustler_archives/raw/master/rustler_installer.ez.
When the archive is installed, you can generate a new Rustler project by doing
mix rustler.new <path>, and following the instructions.