makepad/libs/map_build/Cargo.toml
Admin b4f4eb1abd libs: geodata, map_build, mbtile_reader, map_nav
Squash of 7 work commits (Sep 1–12):
  f7093bf  map_nav: the search db's positioned read builds on Windows
  3c03397  geodata: a data library keeps its own clock — the GUI platform is not a dependency
  64d2d3a  map-build: an unfinished bake resumes or restarts itself, and the maps root does not depend on the cwd
  cb572ae  map-tiles: makepad-map-repack rewrites an archive to what the renderer reads
  30fc13b  map-tiles: repack runs on all cores, resumes per shard, reports --status
  2db9d48  mkmap: a root record may decode to 512 MiB — the densest world shards list over five million tiles
  e8be900  deps: drop osmpbf and serde_json from the root workspace

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 13:40:32 +02:00

28 lines
1.2 KiB
TOML

# Build map archives from OpenStreetMap PBF: the bake engine behind the
# `makepad-map-tiles` CLI, and behind the in-app first-run test-map bake
# (apps/route). Library-only on purpose — no CLI, no UI — so an app can run
# the exact same passes on a worker thread and report progress into its own
# window. The one pass that needs the renderer (the face bake) sits behind
# the `faces` feature so the rest stays free of the widget library.
[package]
name = "makepad-map-build"
version = "0.1.0"
edition = "2021"
description = "OSM PBF → tile archive + navigation artifact bake passes"
license = "MIT OR Apache-2.0"
[features]
default = []
# The face bake replays the renderer's own painter cascade, so it needs the
# widget library. Everything else here is GUI-free; keep it that way.
faces = ["dep:makepad-widgets"]
[dependencies]
brotli = "8.0"
makepad-fast-inflate = { path = "../fast_inflate" }
makepad-map-nav = { path = "../map_nav" }
makepad-mbtile-reader = { path = "../mbtile_reader" }
makepad-widgets = { path = "../../widgets", features = ["maps"], optional = true }
makepad-micro-serde = { path = "../micro_serde", version = "1.0.0" }
smallvec = { path = "../smallvec" }