Web service that provides an API for today's weather forecast for air quality, rain and UV metrics.
Go to file
Paul van Tilburg 8d19dbb517
Implement caching for provider get requests (closes: #2)
* 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
2022-02-14 21:06:31 +01:00
src Implement caching for provider get requests (closes: #2) 2022-02-14 21:06:31 +01:00
.gitignore Initial import into Git 2022-02-12 15:03:00 +01:00
Cargo.lock Implement caching for provider get requests (closes: #2) 2022-02-14 21:06:31 +01:00
Cargo.toml Implement caching for provider get requests (closes: #2) 2022-02-14 21:06:31 +01:00