Packages
locus
1.5.1
2.3.15
2.3.14
2.3.13
2.3.12
2.3.11
2.3.10
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
retired
2.3.2
2.3.1
2.3.0
2.2.2
2.2.1
2.2.0
2.1.0
2.0.0
1.16.1
1.16.0
1.15.0
1.14.1
1.14.0
1.13.2
1.13.1
1.13.0
1.12.2
1.12.1
1.12.0
1.11.0
1.11.0-beta
1.10.2
1.10.1
1.10.0
1.9.0
1.9.0-beta
1.8.0
1.7.0
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.0
1.3.1
1.3.0
1.2.3
1.2.2
1.2.1
1.2.0
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
MMDB reader for geolocation and ASN lookup of IP addresses, supporting MaxMind GeoLite2/GeoIP2 and other providers
Current section
Files
Jump to
Current section
Files
rebar.config
{cover_enabled, true}.
{erl_opts,
[%{i, "src"},
%bin_opt_info,
warn_export_all,
warn_export_vars,
warn_missing_spec,
warn_obsolete_guards,
warn_shadow_vars,
warn_unused_import,
warnings_as_errors,
{platform_define, "^17.4", 'BAD_HTTPC'},
{platform_define, "^1[89]", 'POST_OTP_17'},
{platform_define, "^[2-9]", 'POST_OTP_17'},
{platform_define, "^19", 'POST_OTP_18'},
{platform_define, "^[2-9]", 'POST_OTP_18'},
{platform_define, "^1[78]", 'NO_GEN_STATEM'},
{platform_define, "^19.[0-2]", 'NO_GEN_STATEM'}
]}.
{minimum_otp_vsn, "17.4"}.
{erl_first_files,
["src/locus_gen_statem_compat.erl",
"src/locus_event_subscriber.erl"
]}.
{dialyzer,
[{plt_include_all_deps, true},
{warnings,
[unmatched_returns,
error_handling,
race_conditions,
underspecs
]}
]}.
{xref_checks,
[undefined_function_calls,
undefined_functions,
locals_not_used,
exports_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{profiles,
[{development,
[{erl_opts,
[nowarn_missing_spec,
nowarnings_as_errors]}
]},
{publish,
[{plugins,
[{rebar3_hex, "6.4.0"}
]}
]},
{test,
[{deps,
[{jsx, "2.9.0"}
]},
{erl_opts,
[debug_info,
nowarn_export_all,
nowarn_missing_spec,
nowarnings_as_errors]}
]},
{travis_test,
[{erl_opts,
[debug_info,
nowarn_export_all,
nowarn_missing_spec,
nowarnings_as_errors,
{d, 'RUNNING_ON_TRAVIS'}]}
]}
]}.