mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-01 10:44:56 +03:00
47 lines
1.2 KiB
TOML
47 lines
1.2 KiB
TOML
[package]
|
|
name = "map_gui"
|
|
version = "0.1.0"
|
|
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
native = ["reqwest"]
|
|
wasm = ["futures", "futures-channel", "js-sys", "wasm-bindgen", "wasm-bindgen-futures", "web-sys"]
|
|
# Just a marker to not use localhost URLs
|
|
wasm_s3 = []
|
|
# A marker to use a named release from S3 instead of dev for updating files
|
|
release_s3 = []
|
|
|
|
[dependencies]
|
|
aabb-quadtree = "0.1.0"
|
|
abstutil = { path = "../abstutil" }
|
|
colorous = "1.0.3"
|
|
contour = "0.3.0"
|
|
flate2 = "1.0.19"
|
|
futures = { version = "0.3.8", optional = true }
|
|
futures-channel = { version = "0.3.8", optional = true }
|
|
geojson = "0.21.0"
|
|
geom = { path = "../geom" }
|
|
instant = "0.1.7"
|
|
js-sys = { version = "0.3.45", optional = true }
|
|
map_model = { path = "../map_model" }
|
|
reqwest = { version = "0.10.8", optional = true, default-features=false, features=["blocking", "rustls-tls"] }
|
|
serde = "1.0.116"
|
|
sim = { path = "../sim" }
|
|
wasm-bindgen = { version = "0.2.68", optional = true }
|
|
wasm-bindgen-futures = { version = "0.4.18", optional = true }
|
|
webbrowser = "0.5.5"
|
|
widgetry = { path = "../widgetry" }
|
|
|
|
[dependencies.web-sys]
|
|
version = "0.3.4"
|
|
optional = true
|
|
features = [
|
|
"Headers",
|
|
"Request",
|
|
"RequestInit",
|
|
"RequestMode",
|
|
"Response",
|
|
"Window",
|
|
]
|