sinoptik/Cargo.toml
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

16 lines
354 B
TOML

[package]
name = "sinoptik"
version = "0.1.0"
edition = "2021"
[dependencies]
cached = { version = "0.30.0", features = ["async"] }
csv = "1.1.6"
chrono = "0.4.19"
chrono-tz = "0.6.1"
color-eyre = "0.5.6"
geocoding = "0.3.1"
image = "0.24.0"
reqwest = { version = "0.11.9", features = ["json"] }
rocket = { version = "0.5.0-rc.1", features = ["json"] }