mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-22 13:51:33 +03:00
34 lines
916 B
TOML
34 lines
916 B
TOML
[package]
|
|
name = "game"
|
|
version = "0.1.0"
|
|
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
# TODO Can't toggle based on target_arch. https://github.com/rust-lang/cargo/issues/2524
|
|
# cargo web start --target wasm32-unknown-unknown --no-default-features --features wasm
|
|
[features]
|
|
default = ["built", "ezgui/glium-backend"]
|
|
wasm = ["ezgui/wasm-backend"]
|
|
|
|
[dependencies]
|
|
aabb-quadtree = "0.1.0"
|
|
abstutil = { path = "../abstutil" }
|
|
built = { version = "0.4.0", optional = true, features=["chrono"] }
|
|
chrono = "0.4.10"
|
|
downcast-rs = "1.0.4"
|
|
ezgui = { path = "../ezgui", default-features=false }
|
|
geom = { path = "../geom" }
|
|
instant = "0.1.2"
|
|
kml = { path = "../kml" }
|
|
map_model = { path = "../map_model" }
|
|
popdat = { path = "../popdat" }
|
|
rand = "0.7.0"
|
|
rand_xorshift = "0.2.0"
|
|
serde = "1.0.98"
|
|
serde_derive = "1.0.98"
|
|
sim = { path = "../sim" }
|
|
|
|
[build-dependencies]
|
|
built = "0.3.2"
|
|
walkdir = "2.2.7"
|