{erl_opts, [debug_info]}.

{deps, []}.

{plugins, [rebar3_rustler]}.

{cargo_opts, [
    {src_dir, "native/ercgen"}
]}.

{provider_hooks, [
    {pre, [
        {compile, {cargo, build}}
    ]},
    {post, [
        {clean, {cargo, clean}},
        {eunit, {cargo, test}}
    ]}
]}.

{project_plugins, [rebar3_ex_doc]}.

{hex, [{doc, ex_doc}]}.

{ex_doc, [
          {source_url, <<"https://github.com/belltoy/ercgen">>},
          {extras, [<<"README.md">>, <<"LICENSE">>]},
          {main, <<"readme">>}]}.
