f01f6a886d
Use a PathBuf instead of a String for storing the mmdb locations
2025-04-11 21:49:36 +02:00
34e5e8f95c
Update maxminddb dependency to 0.26 and adapt to breaking changes
2025-04-11 21:40:41 +02:00
ba34caf8fc
Log not found errors to the debug channel
...
They are part of normal operation and shouldn't be logged in production.
2025-02-09 16:27:12 +01:00
b98bb67b4c
Make clippy happy
...
Mostly cleaning up type system crimes from when I was still learning rust:
* Abuse of `match` and loops
* Non-use of helper functions (`is_empty`, `is_none`)
* Use of borrowed owned types (`&String`)
* Implementing `Into` instead of `From`
2025-02-09 15:45:23 +01:00
d902dae35d
Use the log create instead of println
2025-02-09 15:11:17 +01:00
6a57780490
Made the geoip database reloadable
2023-03-26 14:27:16 +02:00
4881f76b5b
Updated maxminddb dependency, added location info to lookup
2023-02-24 00:42:15 +01:00
70f06ac501
Threw out some unneeded api
2023-02-22 21:32:10 +01:00
52ace5f61f
Middlewarre!
2023-02-21 00:06:49 +01:00
2394d90087
Made querying with paths possible (for wasier commandline usage)
2023-02-18 18:07:52 +01:00
90705ea08a
Working geoip lookup
2023-02-18 13:09:37 +01:00
2fb2385004
Write some major geolocation shuffling around code
2023-02-17 18:45:37 +01:00