{minimum_otp_vsn, "22"}.

{erl_opts,
 [%bin_opt_info,
  debug_info,
  warn_export_all,
  warn_export_vars,
  warn_missing_spec,
  warn_obsolete_guards,
  warn_shadow_vars,
  warn_unused_import,
  warnings_as_errors
  ]}.

{deps,
 [{iso8601, "1.3.3"}
 ]}.

{project_plugins,
 [{rebar3_hex, "6.11.6"}
 ]}.

{dialyzer,
 [{plt_include_all_deps, true},
  {warnings,
   [unmatched_returns,
    error_handling,
    race_conditions,
    underspecs
   ]}
 ]}.

{profiles,
 [{development,
   [{erl_opts,
     [nowarn_missing_spec,
      nowarnings_as_errors]}
   ]},

  {test,
   [{erl_opts,
     [debug_info,
      nowarn_export_all,
      nowarn_missing_spec,
      nowarnings_as_errors]},
    {cover_enabled, true},
    {cover_opts, [verbose]}
   ]}
 ]}.
