Paul van Tilburg
8d19dbb517
* Also cache address geocoding requests to OSM Nomatim! * Use the `cached` crate for an easy implementation * Add the `cache_key` helper function to deal with floats being annoying * Cache Buienradar get request for 5 minutes (per position/metric) * Cache Luchtmeetnet get request for 5 minutes (per position/metric) * Note the `Item` structs need to implement `Clone` now because the cache will own them and Rocket will want a copy too |
||
---|---|---|
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml |