abstreet/map_gui/Cargo.toml

64 lines
1.7 KiB
TOML
Raw Normal View History

[package]
name = "map_gui"
version = "0.1.0"
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
edition = "2021"
[features]
native = ["built", "clipboard", "subprocess", "tokio", "widgetry/native-backend"]
wasm = ["js-sys", "wasm-bindgen", "wasm-bindgen-futures", "wasm-streams", "web-sys", "widgetry/wasm-backend"]
# A marker to use a named release from S3 instead of dev for updating files
release_s3 = []
[dependencies]
aabb-quadtree = "0.1.0"
abstio = { path = "../abstio" }
abstutil = { path = "../abstutil" }
2021-02-04 05:13:06 +03:00
anyhow = "1.0.38"
built = { version = "0.5.0", optional = true, features=["chrono"] }
chrono = "0.4.15"
clipboard = { version = "0.5.0", optional = true }
colorous = "1.0.3"
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"}
geojson = { version = "0.22.0", features = ["geo-types"] }
geom = { path = "../geom" }
instant = "0.1.7"
2021-02-04 05:13:06 +03:00
js-sys = { version = "0.3.47", optional = true }
lazy_static = "1.4.0"
2021-02-04 05:13:06 +03:00
log = "0.4.14"
lyon_geom = ">=0.16.2"
map_model = { path = "../map_model" }
regex = "1.5.4"
rfd = "0.4.0"
2021-02-04 05:13:06 +03:00
serde = "1.0.123"
sim = { path = "../sim" }
structopt = "0.3.23"
subprocess = { git = "https://github.com/hniksic/rust-subprocess", optional = true }
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 }
wasm-streams = { version = "0.2.0", optional = true }
webbrowser = "0.5.5"
widgetry = { path = "../widgetry" }
fs-err = "2.6.0"
[dependencies.web-sys]
2021-02-04 05:13:06 +03:00
version = "0.3.47"
optional = true
features = [
"Headers",
"History",
"ReadableStream",
"Request",
"RequestInit",
"RequestMode",
"Response",
"Window",
]
[build-dependencies]
built = "0.5.0"