2020-11-23 03:11:27 +03:00
|
|
|
[package]
|
|
|
|
name = "map_gui"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
2020-11-23 21:35:08 +03:00
|
|
|
[features]
|
2021-05-14 18:32:56 +03:00
|
|
|
native = ["clipboard", "subprocess", "tokio", "widgetry/native-backend"]
|
2021-07-16 20:43:27 +03:00
|
|
|
wasm = ["js-sys", "wasm-bindgen", "wasm-bindgen-futures", "wasm-streams", "web-sys", "widgetry/wasm-backend"]
|
2020-11-30 03:01:18 +03:00
|
|
|
# A marker to use a named release from S3 instead of dev for updating files
|
|
|
|
release_s3 = []
|
2020-11-23 21:35:08 +03:00
|
|
|
|
2020-11-23 03:11:27 +03:00
|
|
|
[dependencies]
|
|
|
|
aabb-quadtree = "0.1.0"
|
2021-01-02 21:28:00 +03:00
|
|
|
abstio = { path = "../abstio" }
|
2020-11-23 03:11:27 +03:00
|
|
|
abstutil = { path = "../abstutil" }
|
2021-02-04 05:13:06 +03:00
|
|
|
anyhow = "1.0.38"
|
2021-03-13 23:54:14 +03:00
|
|
|
clipboard = { version = "0.5.0", optional = true }
|
2020-11-23 03:11:27 +03:00
|
|
|
colorous = "1.0.3"
|
2021-05-23 02:23:06 +03:00
|
|
|
contour = "0.4.0"
|
2021-02-04 05:13:06 +03:00
|
|
|
flate2 = "1.0.20"
|
|
|
|
futures = { version = "0.3.12" }
|
|
|
|
futures-channel = { version = "0.3.12"}
|
2021-06-09 19:48:53 +03:00
|
|
|
geojson = { version = "0.22.0", features = ["geo-types"] }
|
2020-11-23 03:11:27 +03:00
|
|
|
geom = { path = "../geom" }
|
2020-11-23 21:35:08 +03:00
|
|
|
instant = "0.1.7"
|
2021-02-04 05:13:06 +03:00
|
|
|
js-sys = { version = "0.3.47", optional = true }
|
|
|
|
log = "0.4.14"
|
2020-11-23 03:11:27 +03:00
|
|
|
map_model = { path = "../map_model" }
|
2021-05-23 02:36:57 +03:00
|
|
|
rfd = "0.4.0"
|
2021-02-04 05:13:06 +03:00
|
|
|
serde = "1.0.123"
|
2020-11-23 03:11:27 +03:00
|
|
|
sim = { path = "../sim" }
|
2021-05-07 03:38:16 +03:00
|
|
|
subprocess = { git = "https://github.com/hniksic/rust-subprocess", optional = true }
|
2021-06-09 20:21:25 +03:00
|
|
|
tokio = { version ="1.1.1", features=["full"], optional = true }
|
2021-02-04 05:13:06 +03:00
|
|
|
wasm-bindgen = { version = "0.2.70", optional = true }
|
|
|
|
wasm-bindgen-futures = { version = "0.4.20", optional = true }
|
2021-07-16 20:43:27 +03:00
|
|
|
wasm-streams = { version = "0.2.0", optional = true }
|
2020-11-23 21:35:08 +03:00
|
|
|
webbrowser = "0.5.5"
|
2020-11-23 20:27:07 +03:00
|
|
|
widgetry = { path = "../widgetry" }
|
2020-11-23 21:35:08 +03:00
|
|
|
|
|
|
|
[dependencies.web-sys]
|
2021-02-04 05:13:06 +03:00
|
|
|
version = "0.3.47"
|
2020-11-23 21:35:08 +03:00
|
|
|
optional = true
|
|
|
|
features = [
|
|
|
|
"Headers",
|
2021-03-05 00:22:09 +03:00
|
|
|
"History",
|
2021-07-16 20:43:27 +03:00
|
|
|
"ReadableStream",
|
2020-11-23 21:35:08 +03:00
|
|
|
"Request",
|
|
|
|
"RequestInit",
|
|
|
|
"RequestMode",
|
|
|
|
"Response",
|
|
|
|
"Window",
|
|
|
|
]
|