package mmdb

  1. Overview
  2. Docs
Binding to the MaxMind DB library for GeoIP lookups

Install

Dune Dependency

Authors

Maintainers

Sources

mmdb-0.3.0.tbz
sha256=c35a78d505e17d8a35840e17a8047d9fba32dfa72663d39aecebf5d8196826e5
sha512=31b0ca40d62d4232846a9b3f04bf257c5bc71ada5e677155d7654636ff7e557d4fe53bdb38d8b3f41540f2caef73e7943ccc35ad501225b62c5e70b4398e1702

CHANGES.md.html

0.3.0

  • Added support for custom queries.

  • Added API for retrieving the list of languages supported by the database. These can subsequently be used in both built-in and custom queries.

  • Added API for retrieving library and file format versions.

0.2.1

  • Removed 'build' constraint from ppx dependencies.

0.2.0

  • Introduced a separate exception type thrown by the library when an internal error occurs.

  • Simplified error type returned by data lookup functions:

    • Removed Invalid_node_number and Invalid_lookup_path error variants since it should not be possible to provoke these errors through the high-level interface provided by this library. An exception will be thrown instead if these errors are encountered.

    • Removed the Lookup_path_does_not_match_data error variant since it simply indicates that a piece of information is not present in the database. The lookup functions will now return Ok None instead of Error _ if the corresponding error code is returned by libmaxminddb.

0.1.0

  • Initial release

OCaml

Innovation. Community. Security.