Packages
Official Erlang client for the VPNDetection API: VPN, proxy, Tor, hosting, CDN and relay detection for any IP address
Current section
Files
Jump to
Current section
Files
vpndetection
rebar.config
rebar.config
%% No runtime dependencies. Everything this client needs (httpc, ssl, json) is
%% in OTP, which is why the floor is 27: json arrived in stdlib there, and it is
%% also the oldest OTP release still supported upstream.
{minimum_otp_vsn, "27"}.
{erl_opts, [debug_info, warnings_as_errors]}.
{deps, []}.
{eunit_opts, [verbose]}.
{dialyzer, [{warnings, [unknown, unmatched_returns]}]}.
{xref_checks, [undefined_function_calls, undefined_functions, locals_not_used,
deprecated_function_calls, deprecated_functions]}.
%% The publishing plugins live in their own profile, so an ordinary build or test
%% run needs no network and no plugin at all. Publish with:
%% rebar3 as publish hex publish
{profiles, [{publish, [{plugins, [{rebar3_hex, "~> 7.2"}, rebar3_ex_doc]}]}]}.
{hex, [{doc, ex_doc}]}.
{ex_doc, [{source_url, <<"https://github.com/vpndetection-io/sdk-erlang">>},
{extras, [<<"README.md">>, <<"LICENSE">>]},
{main, <<"readme">>}]}.