forked from paul/sinoptik
Service that provides today's weather forecast for air quality, rain and UV metrics.
This is useful if you want to prepare for going outside and need to know what happens in the near future or later today.
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 |