abstreet/game/Cargo.toml

41 lines
1.1 KiB
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", "reqwest"]
wasm = ["ezgui/wasm-backend"]
[dependencies]
aabb-quadtree = "0.1.0"
abstutil = { path = "../abstutil" }
built = { version = "0.4.2", optional = true, features=["chrono"] }
chrono = "0.4.10"
colorous = "1.0.1"
downcast-rs = "1.1.1"
ezgui = { path = "../ezgui", default-features=false }
geom = { path = "../geom" }
instant = "0.1.2"
kml = { path = "../kml" }
lttb = { git = "https://github.com/jeromefroe/lttb-rs" }
maplit = "1.0.2"
map_model = { path = "../map_model" }
petgraph = "0.5.0"
petname = "1.0.12"
rand = "0.7.0"
rand_xorshift = "0.2.0"
reqwest = { version = "0.10.4", optional = true, default-features=false, features=["blocking", "default-tls"] }
serde = "1.0.110"
svg_face = "0.1.2"
sim = { path = "../sim" }
webbrowser = "0.5.2"
xmltree = "0.10.0"
[build-dependencies]
built = "0.4.2"
walkdir = "2.2.7"