Web service that provides an API for today's weather forecast for air quality, rain and UV metrics.
Go to file
Paul van Tilburg 8d2717b392
Provide not the first map but an instant-relative map
This calculates which offset to use in the maps series with respect to
the instant of caching. It assumes the first map is current for the
instant it was retrieved.

* Rename `*_first` to `*_at` methods
* For convenience, change the types of `*_MAP_COUNT` to `u32`
* Introduce `*_MAP_INTERVAL` constants to indicate the number of
  seconds each map in the series applies to
* Return `None` if the provided instant is too far in the future
2022-02-17 21:38:16 +01:00
src Provide not the first map but an instant-relative map 2022-02-17 21:38:16 +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 Sort Cargo.toml 2022-02-16 22:20:20 +01:00