{erl_opts, [debug_info, warnings_as_errors]}.

{minimum_otp_vsn, "27.0"}.

{deps, [
    {gun, "~> 2.1.0"},
    {opentelemetry_api, "~> 1.5.0"},
    {opentelemetry_api_experimental, "~> 0.5.0"},
    {telemetry, "~> 1.3.0"},
    {uuid, "~> 2.0.0", {pkg, uuid_erl}}
]}.

{profiles, [
    {test, [
        {deps, [
            {meck, "~> 1.0.0"},
            {eqwalizer_support,
                {git_subdir, "https://github.com/whatsapp/eqwalizer.git", {branch, "main"},
                    "eqwalizer_support"}}
        ]},
        {erl_opts, [{i, "test/include"}, {i, "test_replay/include"}]},
        {eunit_opts, [{sys_config, ["config/test.sys.config"]}]},
        {extra_src_dirs, [{"test", [{recursive, true}]}, {"test_replay", [{recursive, true}]}]},
        {eunit_tests, [{dir, "test"}, {dir, "test_replay"}]},
        {pre_hooks, [{eunit, "test/bin/temporal_namespace.sh"}]}
    ]}
]}.
