git clone https://garage44.eu/jeroen/cartopolis.git.. /crates/atlas/Cargo.toml
# `cartopolis_atlas` — everything around the world that is not the simulation:
# the map data pipelines (ported from an earlier TypeScript repository), the terrain tiles,
# and later registration and accounts. `docs/notes/atlas.md` has the design and
# the rules; the one that shaped this file is that it is its own process and
# never shares a runtime with the simulator's tick.
[package]
name = "cartopolis_atlas"
version.workspace = true
edition.workspace = true
license.workspace = true
[lib]
name = "cartopolis_atlas"
path = "src/lib.rs"
doctest = false
# The binary is a shim over the lib, as the simulator's is; no tests of its own.
[[bin]]
name = "atlas"
path = "src/main.rs"
test = false
[dependencies]
anyhow.workspace = true
axum.workspace = true
clap.workspace = true
figment = { workspace = true, features = ["toml", "env"] }
serde.workspace = true
tokio.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
ureq.workspace = true
# All three already in the lockfile through other members; the pipelines need
# gzip for the CityJSON tiles, query encoding, and the WFS capabilities XML.
flate2.workspace = true
earcutr.workspace = true
# Cutting garden plots along the infrared photograph (`pipeline/gardens.rs`);
# the same overlay the geo crate cuts its ground sheets with.
i_overlay.workspace = true
url.workspace = true
# The `.br` copy of every served file (`stamped::write_served`). 7, not 8: it
# shares `brotli-decompressor` 4 with ureq's `brotli` feature.
brotli = "7"
# Already in the lockfile through winit; streams the BGT extract's GML, which is
# hundreds of megabytes and never held whole.
quick-xml = "0.41"
serde_json.workspace = true
# The same decoder the geo crate reads PDOK with, for AHN6's tiled sheets, and
# its encoder for `/height`'s answers.
tiff.workspace = true
# JPEG decoding for the aerial photographs `roofs` samples.
image.workspace = true
# Running the facade-parsing network over the city model's walls
# (`pipeline/facades.rs`). tract-core 0.23.9 is already built for the face
# crate; this adds its ONNX reader.
tract-onnx = "=0.23.9"
# Reading an uploaded building model (`overrides::gltf_model`). The same crate,
# version and features the simulator's model store reads with, so a second
# copy costs the lockfile nothing.
gltf = { workspace = true, features = ["names"] }
# Placing that model (`overrides::gltf_model`), and naming which upload a record
# was saved with. Both already in the lockfile (the workspace's glam; the calls
# crate's sha2 0.10).
glam.workspace = true
sha2.workspace = true
# The geocoder's index file (`geocoder`). The workspace's, already built for core.
postcard.workspace = true
# Reading a Geofabrik `.osm.pbf` extract in place of asking Overpass (`osm`).
# Its default inflates through flate2's Rust backend, the one atlas already has.
osmpbf = "0.3"
# Reading the BRO's groundwater usage register, which is published only as a
# GeoPackage (`pipeline/wko.rs`). The workspace's, already built for the simulator.
rusqlite.workspace = true
cartopolis_core = { path = "../core" }
cartopolis_geo = { path = "../geo" }
cartopolis_scenario = { path = "../scenario" }
[dev-dependencies]
tempfile.workspace = true
[lints]
workspace = true