mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-20 21:01:33 +03:00
60352747bf
some features for transitive deps in each crate.
52 lines
1.4 KiB
TOML
52 lines
1.4 KiB
TOML
[package]
|
|
name = "map_gui"
|
|
version = "0.1.0"
|
|
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
native = ["clipboard", "subprocess", "tokio", "widgetry/native-backend"]
|
|
wasm = ["js-sys", "wasm-bindgen", "wasm-bindgen-futures", "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" }
|
|
anyhow = "1.0.38"
|
|
clipboard = { version = "0.5.0", optional = true }
|
|
colorous = "1.0.3"
|
|
contour = "0.4.0"
|
|
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"
|
|
js-sys = { version = "0.3.47", optional = true }
|
|
log = "0.4.14"
|
|
map_model = { path = "../map_model" }
|
|
rfd = "0.4.0"
|
|
serde = "1.0.123"
|
|
sim = { path = "../sim" }
|
|
subprocess = { git = "https://github.com/hniksic/rust-subprocess", optional = true }
|
|
tokio = { version ="1.1.1", features=["full"], optional = true }
|
|
wasm-bindgen = { version = "0.2.70", optional = true }
|
|
wasm-bindgen-futures = { version = "0.4.20", optional = true }
|
|
webbrowser = "0.5.5"
|
|
widgetry = { path = "../widgetry" }
|
|
|
|
[dependencies.web-sys]
|
|
version = "0.3.47"
|
|
optional = true
|
|
features = [
|
|
"Headers",
|
|
"History",
|
|
"Request",
|
|
"RequestInit",
|
|
"RequestMode",
|
|
"Response",
|
|
"Window",
|
|
]
|