Crates.io | ip2country |
lib.rs | ip2country |
version | 0.3.0 |
source | src |
created_at | 2020-06-30 20:03:48.575772 |
updated_at | 2023-07-30 12:35:34.40368 |
description | fast ip to asn-country lookup |
homepage | https://github.com/extrawurst/ip2country |
repository | https://github.com/extrawurst/ip2country |
max_upload_size | |
id | 259979 |
size | 8,034,334 |
provides loading of geo+whois+asn+country csv
files (see: https://github.com/sapics/ip-location-db) and provides fast and lightweight ip lookup.
the file format hast to be in this format:
ip-range-start,ip-range-end,short-country-code
the lines need to be sorted ascending by the ip-range-start
column.