forked from paul/sinoptik
Paul van Tilburg
9b9b1a5f77
* 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.
12 lines
231 B
TOML
12 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"] }
|