Slatian
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
Slatian
d902dae35d
Use the log create instead of println
2025-02-09 15:11:17 +01:00
Slatian
6a57780490
Made the geoip database reloadable
2023-03-26 14:27:16 +02:00
Slatian
4881f76b5b
Updated maxminddb dependency, added location info to lookup
2023-02-24 00:42:15 +01:00
Slatian
70f06ac501
Threw out some unneeded api
2023-02-22 21:32:10 +01:00
Slatian
52ace5f61f
Middlewarre!
2023-02-21 00:06:49 +01:00
Slatian
2394d90087
Made querying with paths possible (for wasier commandline usage)
2023-02-18 18:07:52 +01:00
Slatian
90705ea08a
Working geoip lookup
2023-02-18 13:09:37 +01:00
Slatian
2fb2385004
Write some major geolocation shuffling around code
2023-02-17 18:45:37 +01:00