ip2country

Crates.ioip2country
lib.rsip2country
version0.3.0
sourcesrc
created_at2020-06-30 20:03:48.575772
updated_at2023-07-30 12:35:34.40368
descriptionfast ip to asn-country lookup
homepagehttps://github.com/extrawurst/ip2country
repositoryhttps://github.com/extrawurst/ip2country
max_upload_size
id259979
size8,034,334
(extrawurst)

documentation

README

ip2country

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.

Commit count: 64

cargo fmt