34 releases (12 breaking)
|0.13.0||Jan 21, 2019|
|0.12.0||Dec 9, 2018|
|0.11.0||Nov 13, 2018|
|0.9.0||Feb 17, 2018|
|0.1.0||Nov 22, 2014|
#23 in Database interfaces
1,610 downloads per month
Used in 4 crates
This library reads the MaxMind DB format, including the GeoIP2 and GeoLite2 databases.
To build everything:
This crate manages its test data within a git submodule. To run the tests, you will first need to run the following command.
git submodule update --init
Add this to your
[dependencies] maxminddb = "0.8.1"
and this to your crate root:
extern crate maxminddb;
The API docs are on GitHub Pages.
examples/lookup.rs for a basic example.
Contributions welcome! Please fork the repository and open a pull request with your changes.
This is free software, licensed under the ISC license.