2018-03-13 18:04:21 +03:00
|
|
|
[package]
|
2020-08-27 20:37:04 +03:00
|
|
|
name = "widgetry"
|
2018-03-13 18:04:21 +03:00
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
|
2021-10-21 19:38:06 +03:00
|
|
|
edition = "2021"
|
2018-03-13 18:04:21 +03:00
|
|
|
|
2019-09-23 23:37:47 +03:00
|
|
|
[features]
|
2022-02-19 18:07:07 +03:00
|
|
|
native-backend = ["glutin", "tokio", "usvg/system-fonts", "usvg/text"]
|
|
|
|
wasm-backend = ["instant/wasm-bindgen", "js-sys", "usvg/text", "wasm-bindgen", "wasm-bindgen-futures", "wasm-streams", "web-sys", "winit/web-sys"]
|
2019-09-23 23:37:47 +03:00
|
|
|
|
2018-03-13 18:04:21 +03:00
|
|
|
[dependencies]
|
2021-10-01 22:19:19 +03:00
|
|
|
aabb-quadtree = "0.1.0"
|
2022-02-19 18:07:07 +03:00
|
|
|
abstio = { path = "../abstio" }
|
2018-09-26 00:36:02 +03:00
|
|
|
abstutil = { path = "../abstutil" }
|
2021-02-04 05:13:06 +03:00
|
|
|
anyhow = "1.0.38"
|
2019-11-23 01:06:44 +03:00
|
|
|
# backtrace = "0.3.40"
|
2020-09-24 19:36:26 +03:00
|
|
|
downcast-rs = "1.2.0"
|
2022-02-19 18:07:07 +03:00
|
|
|
flate2 = "1.0.20"
|
2022-01-17 20:30:51 +03:00
|
|
|
fs-err = "2.6.0"
|
2022-02-19 18:07:07 +03:00
|
|
|
futures = { version = "0.3.12" }
|
|
|
|
futures-channel = { version = "0.3.12"}
|
2022-02-22 19:45:49 +03:00
|
|
|
geojson = { version = "0.22.2", features = ["geo-types"] }
|
2018-08-09 20:52:55 +03:00
|
|
|
geom = { path = "../geom" }
|
2021-05-23 02:23:06 +03:00
|
|
|
glow = "0.9.0"
|
2020-12-12 07:47:00 +03:00
|
|
|
glutin = { version = "0.26.0", optional = true }
|
2020-02-07 22:32:10 +03:00
|
|
|
htmlescape = "0.3.1"
|
2021-01-06 01:58:31 +03:00
|
|
|
image = { version = "0.23.12", default-features = false, features=["png"] }
|
2020-09-24 19:36:26 +03:00
|
|
|
instant = "0.1.7"
|
2022-02-19 18:07:07 +03:00
|
|
|
js-sys = { version = "0.3.47", optional = true }
|
2021-02-04 05:13:06 +03:00
|
|
|
log = "0.4.14"
|
2021-02-04 05:33:06 +03:00
|
|
|
lru = "0.6.4"
|
2021-05-23 02:23:06 +03:00
|
|
|
# Don't upgrade until a crash with opening lane info panels is fixed
|
2020-11-11 23:02:53 +03:00
|
|
|
lyon = "0.16.2"
|
2021-02-04 05:13:06 +03:00
|
|
|
serde = "1.0.123"
|
2021-01-04 07:01:27 +03:00
|
|
|
serde_json = "1.0.61"
|
2019-12-21 02:56:04 +03:00
|
|
|
stretch = "0.3.2"
|
2022-02-19 18:07:07 +03:00
|
|
|
tokio = { version ="1.1.1", features=["full"], optional = true }
|
2021-05-23 02:23:06 +03:00
|
|
|
ttf-parser = "0.12.0"
|
|
|
|
usvg = { version = "0.14.0", default-features=false, features=["text"] }
|
2021-02-04 05:13:06 +03:00
|
|
|
wasm-bindgen = { version = "0.2.70", optional = true }
|
2022-02-19 18:07:07 +03:00
|
|
|
wasm-bindgen-futures = { version = "0.4.20", optional = true }
|
|
|
|
wasm-streams = { version = "0.2.0", optional = true }
|
2020-12-12 07:47:00 +03:00
|
|
|
winit = "0.24.0"
|
2022-02-19 18:07:07 +03:00
|
|
|
|
|
|
|
[dependencies.web-sys]
|
|
|
|
version = "0.3.47"
|
|
|
|
optional = true
|
|
|
|
# TODO Some of these may only be needed in map_gui. It's hard to detangle.
|
|
|
|
features = [
|
|
|
|
"Headers",
|
|
|
|
"History",
|
|
|
|
"ReadableStream",
|
|
|
|
"Request",
|
|
|
|
"RequestInit",
|
|
|
|
"RequestMode",
|
|
|
|
"Response",
|
|
|
|
"Window",
|
|
|
|
]
|