sinoptik/Cargo.toml
Paul van Tilburg 9b9b1a5f77
Refactor so that no static is necessary for the maps cache
* Replace the lazy `once_cell` by a maps handle type
* Use Rocket's managed state to manage a handle
* Ensure that the handlers have access to it
* Pass another handle to the maps updater loop
* Try to keep the lock as short as possible

Still, long downloads block the lock. Add a FIXME to refactor this
so the lock is only taken when updating the maps fields.
2022-02-12 21:35:58 +01:00

13 lines
231 B
TOML

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