{erl_opts, [debug_info, warnings_as_errors]}.

{deps, [
    {kura, "~> 2.17"}
]}.

{project_plugins, [
    rebar3_hex,
    rebar3_ex_doc
]}.

{erlfmt, [write]}.

{xref_checks, [
    undefined_function_calls,
    undefined_functions,
    locals_not_used,
    deprecated_function_calls,
    deprecated_functions
]}.

{dialyzer, [
    {warnings, [error_handling, unmatched_returns]},
    {plt_extra_apps, [kura]}
]}.

{eunit_opts, [verbose]}.

{cover_enabled, true}.

{hex, [
    {doc, #{provider => ex_doc}},
    {include_files, [
        <<"src">>,
        <<"rebar.config">>,
        <<"rebar.lock">>,
        <<"README.md">>,
        <<"LICENSE.md">>
    ]}
]}.

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