Skip to content

griff/maxminddb-rust

 
 

Repository files navigation

Rust MaxMind DB Reader

Build Status

This library reads the MaxMind DB format, including the GeoIP2 and GeoLite2 databases.

Building

To build everything:

cargo build

Usage

Add this to your Cargo.toml:

[dependencies]
maxminddb = "0.8.1"

and this to your crate root:

extern crate maxminddb;

API Documentation

The API docs are on GitHub Pages.

Example

See examples/lookup.rs for a basic example.

Contributing

Contributions welcome! Please fork the repository and open a pull request with your changes.

License

This is free software, licensed under the ISC license.

About

Rust MaxMind DB Reader

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%