Packages

Create new rustler-based Erlang NIF libs in no time

Current section

Files

Jump to
rebar3_rustler priv _rebar.config
Raw

priv/_rebar.config

{erl_opts, [debug_info]}.
{deps, []}.
{plugins, [rebar3_rustler]}.
{cargo_opts, [
{src_dir, "native/{{name}}"}
]}.
{provider_hooks, [
{pre, [
{compile, {cargo, build}}
]},
{post, [
{clean, {cargo, clean}},
{eunit, {cargo, test}}
]}
]}.