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"
|
2018-03-13 18:04:21 +03:00
|
|
|
|
2020-02-15 03:15:44 +03:00
|
|
|
# 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]
|
2020-06-08 02:25:42 +03:00
|
|
|
default = ["built", "clipboard", "ezgui/glium-backend", "reqwest", "webbrowser"]
|
2020-02-15 03:15:44 +03:00
|
|
|
wasm = ["ezgui/wasm-backend"]
|
|
|
|
|
2018-03-13 18:04:21 +03:00
|
|
|
[dependencies]
|
|
|
|
aabb-quadtree = "0.1.0"
|
2018-06-22 21:01:44 +03:00
|
|
|
abstutil = { path = "../abstutil" }
|
2020-06-01 19:18:17 +03:00
|
|
|
built = { version = "0.4.2", optional = true, features=["chrono"] }
|
2020-01-29 22:43:54 +03:00
|
|
|
chrono = "0.4.10"
|
2020-06-08 02:25:42 +03:00
|
|
|
clipboard = { version = "0.5.0", optional = true }
|
2020-04-28 04:48:19 +03:00
|
|
|
colorous = "1.0.1"
|
2020-03-23 00:06:02 +03:00
|
|
|
downcast-rs = "1.1.1"
|
2020-07-06 23:09:49 +03:00
|
|
|
enumset = "1.0.0"
|
2020-02-15 03:15:44 +03:00
|
|
|
ezgui = { path = "../ezgui", default-features=false }
|
2020-07-04 21:29:45 +03:00
|
|
|
geojson = "0.19.0"
|
2018-06-29 05:48:11 +03:00
|
|
|
geom = { path = "../geom" }
|
2020-02-15 01:28:25 +03:00
|
|
|
instant = "0.1.2"
|
2018-11-21 23:26:23 +03:00
|
|
|
kml = { path = "../kml" }
|
2020-06-19 03:44:12 +03:00
|
|
|
lttb = "0.2.0"
|
2020-04-01 02:40:07 +03:00
|
|
|
maplit = "1.0.2"
|
2018-03-13 18:04:21 +03:00
|
|
|
map_model = { path = "../map_model" }
|
2020-07-02 23:41:24 +03:00
|
|
|
marching-squares = "0.1.1"
|
2020-05-09 20:34:52 +03:00
|
|
|
petgraph = "0.5.0"
|
2020-05-29 21:37:21 +03:00
|
|
|
petname = "1.0.12"
|
2019-08-15 22:06:08 +03:00
|
|
|
rand = "0.7.0"
|
|
|
|
rand_xorshift = "0.2.0"
|
2020-06-23 19:00:41 +03:00
|
|
|
reqwest = { version = "0.10.6", optional = true, default-features=false, features=["blocking", "rustls-tls"] }
|
2020-05-20 01:06:32 +03:00
|
|
|
serde = "1.0.110"
|
2020-07-04 21:29:45 +03:00
|
|
|
serde_json = "1.0.40"
|
2020-05-29 23:09:46 +03:00
|
|
|
svg_face = "0.1.2"
|
2018-04-11 03:38:26 +03:00
|
|
|
sim = { path = "../sim" }
|
2020-06-08 02:25:42 +03:00
|
|
|
webbrowser = { version = "0.5.2", optional = true }
|
2020-05-11 22:18:19 +03:00
|
|
|
xmltree = "0.10.0"
|
2019-03-12 03:18:30 +03:00
|
|
|
|
|
|
|
[build-dependencies]
|
2020-06-01 19:18:17 +03:00
|
|
|
built = "0.4.2"
|
2019-03-12 03:18:30 +03:00
|
|
|
walkdir = "2.2.7"
|