mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-24 09:24:26 +03:00
e45a5181db
crate, in preparation for future focus on travel demand models that incorporate more per-person info. Note: I'm also a bit tempted to try to further split sim into a "high-level" layer that orchestrates spawning and different legs of a trip, from the "low-level" layer that moves pedestrians and vehicles. That could _possibly_ pave the way for someday using a different traffic simulation backend with more realistic movement mechanics. Step 1: just get the synthpop crate to build
51 lines
1.2 KiB
TOML
51 lines
1.2 KiB
TOML
[workspace]
|
|
|
|
members = [
|
|
"abstio",
|
|
"abstutil",
|
|
"cli",
|
|
"collisions",
|
|
"convert_osm",
|
|
"fifteen_min",
|
|
"game",
|
|
"geom",
|
|
"headless",
|
|
"importer",
|
|
"ltn",
|
|
"kml",
|
|
"map_editor",
|
|
"map_gui",
|
|
"map_model",
|
|
"osm_viewer",
|
|
"parking_mapper",
|
|
"piggyback",
|
|
"popdat",
|
|
"santa",
|
|
"sim",
|
|
"synthpop",
|
|
"tests",
|
|
"traffic_seitan",
|
|
"traffic_signal_data",
|
|
"updater",
|
|
"widgetry",
|
|
"widgetry_demo",
|
|
]
|
|
|
|
# See https://doc.rust-lang.org/cargo/reference/profiles.html#overrides. This
|
|
# compiles all external dependencies as release mode, yielding great runtime
|
|
# speed, but only paying the cost of slow compilation once (since we don't
|
|
# update dependencies often).
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
|
|
[patch.crates-io]
|
|
# Waiting for release: https://github.com/21re/rust-geo-booleanop/pull/27
|
|
geo-booleanop = { git = "https://github.com/21re/rust-geo-booleanop" }
|
|
|
|
# Waiting for a new crates.io release, but git uses latest geo versions
|
|
polylabel = { git = "https://github.com/urschrei/polylabel-rs" }
|
|
|
|
# Waiting on release of PR: https://github.com/georust/geo/pull/654
|
|
geo = { git = "https://github.com/georust/geo" }
|
|
geo-types = { git = "https://github.com/georust/geo" }
|