2018-03-13 18:04:21 +03:00
|
|
|
[package]
|
2019-09-07 23:09:09 +03:00
|
|
|
name = "game"
|
2018-03-13 18:04:21 +03:00
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
|
2018-12-06 21:18:20 +03:00
|
|
|
edition = "2018"
|
2020-10-08 22:26:54 +03:00
|
|
|
description = "A traffic simulation game based on OpenStreetMap"
|
2021-02-01 02:50:48 +03:00
|
|
|
repository = "https://github.com/a-b-street/abstreet"
|
2020-10-08 22:26:54 +03:00
|
|
|
license = "Apache-2.0"
|
2018-03-13 18:04:21 +03:00
|
|
|
|
2020-10-06 01:09:12 +03:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "lib"]
|
|
|
|
|
2020-02-15 03:15:44 +03:00
|
|
|
[features]
|
2020-11-23 23:07:30 +03:00
|
|
|
default = ["built", "map_gui/native", "widgetry/native-backend"]
|
2021-03-05 00:22:09 +03:00
|
|
|
wasm = ["getrandom/js", "map_gui/wasm", "wasm-bindgen", "widgetry/wasm-backend"]
|
2020-02-15 03:15:44 +03:00
|
|
|
|
2018-03-13 18:04:21 +03:00
|
|
|
[dependencies]
|
|
|
|
aabb-quadtree = "0.1.0"
|
2021-01-02 21:28:00 +03:00
|
|
|
abstio = { path = "../abstio" }
|
2018-06-22 21:01:44 +03:00
|
|
|
abstutil = { path = "../abstutil" }
|
2021-02-04 05:13:06 +03:00
|
|
|
anyhow = "1.0.38"
|
2021-05-23 02:36:57 +03:00
|
|
|
built = { version = "0.5.0", optional = true, features=["chrono"] }
|
2020-09-24 19:36:26 +03:00
|
|
|
chrono = "0.4.15"
|
2020-11-06 04:53:54 +03:00
|
|
|
collisions = { path = "../collisions" }
|
2020-09-24 19:36:26 +03:00
|
|
|
colorous = "1.0.3"
|
2021-05-23 02:23:06 +03:00
|
|
|
contour = "0.4.0"
|
2021-05-04 20:34:34 +03:00
|
|
|
csv = "1.1.4"
|
2020-09-24 19:36:26 +03:00
|
|
|
downcast-rs = "1.2.0"
|
2021-02-04 05:13:06 +03:00
|
|
|
enumset = "1.0.3"
|
2021-04-21 04:52:03 +03:00
|
|
|
futures-channel = { version = "0.3.12"}
|
2021-06-09 19:48:53 +03:00
|
|
|
geojson = { version = "0.22.0", features = ["geo-types"] }
|
2018-06-29 05:48:11 +03:00
|
|
|
geom = { path = "../geom" }
|
2021-05-23 02:36:57 +03:00
|
|
|
getrandom = { version = "0.2.3", optional = true }
|
2020-09-24 19:36:26 +03:00
|
|
|
instant = "0.1.7"
|
2018-11-21 23:26:23 +03:00
|
|
|
kml = { path = "../kml" }
|
2021-05-11 21:18:58 +03:00
|
|
|
lazy_static = "1.4.0"
|
2021-02-04 05:13:06 +03:00
|
|
|
log = "0.4.14"
|
2020-06-19 03:44:12 +03:00
|
|
|
lttb = "0.2.0"
|
2020-04-01 02:40:07 +03:00
|
|
|
maplit = "1.0.2"
|
2020-11-23 03:11:27 +03:00
|
|
|
map_gui = { path = "../map_gui" }
|
2018-03-13 18:04:21 +03:00
|
|
|
map_model = { path = "../map_model" }
|
2021-02-04 05:13:06 +03:00
|
|
|
petname = "1.1.0"
|
2020-12-10 20:35:50 +03:00
|
|
|
popdat = { path = "../popdat" }
|
2021-02-04 05:13:06 +03:00
|
|
|
rand = "0.8.3"
|
2021-01-04 06:48:03 +03:00
|
|
|
rand_xorshift = "0.3.0"
|
2021-02-04 05:13:06 +03:00
|
|
|
serde = "1.0.123"
|
2021-01-04 07:01:27 +03:00
|
|
|
serde_json = "1.0.61"
|
2021-01-04 06:48:03 +03:00
|
|
|
svg_face = "0.1.3"
|
2018-04-11 03:38:26 +03:00
|
|
|
sim = { path = "../sim" }
|
2021-02-04 05:13:06 +03:00
|
|
|
wasm-bindgen = { version = "0.2.70", optional = true }
|
2020-11-23 05:35:03 +03:00
|
|
|
widgetry = { path = "../widgetry" }
|
2019-03-12 03:18:30 +03:00
|
|
|
|
|
|
|
[build-dependencies]
|
2021-05-23 02:36:57 +03:00
|
|
|
built = "0.5.0"
|