% SPDX-FileCopyrightText: 2023 Henry Bubert
%
% SPDX-License-Identifier: LGPL-2.1-or-later
{require_otp_vsn, "R?25"}.
{erl_opts, [debug_info]}.
{deps, [
{sqlite3, {git, "https://github.com/processone/erlang-sqlite3", {tag, "1.1.15"}}},
{hex, {git, "https://github.com/b/hex.git", {branch, "master"}}},
{jsone, "~> 1.8.1"},
%% rebar/erlang v25 compat
{enacl, {git, "https://github.com/helium/enacl.git", {branch, "master"}}},
{enoise, {git, "https://github.com/cryptix/enoise.git", {branch, "cable-fork"}}}
]}.
{plugins, [rebar3_auto, rebar3_ex_doc]}.
{relx, [
{release, {cabal, {git, short}}, [
cabal,
debugger,
runtime_tools
]}
]}.
{profiles, [
{dev, [
{erl_opts, [debug_info]},
{relx, [
{dev_mode, true},
{include_erts, false}
]}
]},
{prod, [
{erl_opts, [no_debug_info, warnings_as_errors]},
{relx, [
{dev_mode, false},
{include_erts, true}
]}
]}
]}.
{ex_doc, [
{extras, ["README.md"]},
{main, "README.md"},
{source_url, "https://git.sr.ht/~cryptix/caberl"}
]}.