Add geoip db (#477)

* Use geoip for ipv4 city lookup

Signed-off-by: i1i1 <vanyarybin1@live.ru>

* Add support for ipv6

Signed-off-by: i1i1 <vanyarybin1@live.ru>

* Wrap locator into a blocking task

* Dummy change to try and trigger CI pipeline.

Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
IvanandJames Wilson authored and GitHub committed 2022-07-19 22:06:07 +01:00
1 parent a93a6cadfc
commit 5bff41d0c1
6 files changed
+70 -147

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ hex = "0.4.3"
http = "0.2.4"
hyper = "0.14.11"
log = "0.4.14"
maxminddb = "0.23.0"
num_cpus = "1.13.0"
once_cell = "1.8.0"
parking_lot = "0.11.1"