3 unstable releases

Uses new Rust 2024

0.2.1 Jan 20, 2026
0.2.0 Mar 24, 2025
0.1.0 Feb 18, 2025

#1400 in Web programming

31 downloads per month

AGPL-3.0-only

46KB
1K SLoC

libipinfo

IP information library for Nullnet.

It allows specifying one or more IP information providers and querying them for information about an IP address.
Providers can be of two types:

  • API providers, queried by making an HTTP request to a specific URL
  • MMDB providers: queried by looking up the IP address in a database

This library also exposes a way to configure the JSON schema for the responses of the API providers, and permits to download and periodically refresh MMDB databases.

The library internally uses a fallback provider (free databases from dp-ip.com) so that it's able to return information even if the user specifies no providers.

Dependencies

~7–15MB
~235K SLoC