minedmap/tile_renderer: async region cache

Prepare for sharing the region cache between multiple threads by making
lookup/load async.
This commit is contained in:
Matthias Schiffer 2023-08-14 21:59:16 +02:00
parent dcc9e6e794
commit b5980b82af
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
4 changed files with 165 additions and 39 deletions

View file

@ -27,6 +27,7 @@ rayon = "1.7.0"
rustc-hash = "1.1.0"
serde = { version = "1.0.152", features = ["rc"] }
serde_json = "1.0.99"
tokio = { version = "1.31.0", features = ["rt", "parking_lot", "sync"] }
zstd = "0.12.3"
[features]