{erl_opts, [debug_info, warnings_as_errors]}.

{deps, []}.

{ct_opts, []}.

{edoc_opts, [{preprocess, true}, {dir, "doc"}]}.

{profiles, [
    {test, [{erl_opts, [nowarn_export_all]}]},
    {bench, [
        {erl_opts, [debug_info]},
        {src_dirs, ["src", "bench"]},
        {shell, [{apps, [rast]}]}
    ]}
]}.

%% The native NIF is built out-of-band via the Makefile (see `make build`),
%% mirroring sied: no rebar rust plugin, a precompiled `priv/rast.{dll,so,dylib}`
%% is loaded at runtime. On a fresh checkout run `make build` once before `rebar3 ct`.

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