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>"]
|
2018-12-06 21:18:20 +03:00
|
|
|
edition = "2018"
|
2018-03-13 18:04:21 +03:00
|
|
|
|
2019-09-23 23:37:47 +03:00
|
|
|
[features]
|
2020-08-21 01:58:51 +03:00
|
|
|
default = ["glow-backend"]
|
2020-09-21 08:46:40 +03:00
|
|
|
glow-backend = ["glow", "glutin", "usvg/text", "usvg/text_native"]
|
2020-10-06 01:09:12 +03:00
|
|
|
wasm-backend = ["glow/web-sys", "instant/wasm-bindgen", "usvg/text", "usvg/text_web-sys", "wasm-bindgen", "web-sys", "winit/web-sys"]
|
2019-09-23 23:37:47 +03:00
|
|
|
|
2018-03-13 18:04:21 +03:00
|
|
|
[dependencies]
|
2018-09-26 00:36:02 +03:00
|
|
|
abstutil = { path = "../abstutil" }
|
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"
|
2018-08-09 20:52:55 +03:00
|
|
|
geom = { path = "../geom" }
|
2020-09-24 19:36:26 +03:00
|
|
|
glow = { version = "0.6.0", optional = true, default-features=false }
|
2020-10-03 07:31:56 +03:00
|
|
|
glutin = { version = "0.25.0", optional = true }
|
2020-02-07 22:32:10 +03:00
|
|
|
htmlescape = "0.3.1"
|
2020-09-24 19:36:26 +03:00
|
|
|
image = { version = "0.23.9", default-features = false, features=["png"] }
|
|
|
|
instant = "0.1.7"
|
|
|
|
log = "0.4.11"
|
|
|
|
lru = "0.6.0"
|
2020-09-25 04:39:32 +03:00
|
|
|
# lyon 0.16.0 causes crash in widgetry demo
|
|
|
|
# maybe related: https://github.com/nical/lyon/issues/607
|
|
|
|
lyon = "0.15.8"
|
2020-09-24 19:36:26 +03:00
|
|
|
serde = "1.0.116"
|
2019-12-21 02:56:04 +03:00
|
|
|
stretch = "0.3.2"
|
2020-09-24 19:36:26 +03:00
|
|
|
ttf-parser = "0.8.2"
|
2020-09-21 08:46:40 +03:00
|
|
|
usvg = { git = "https://github.com/dabreegster/resvg/", branch = "wasm", default-features=false }
|
2020-10-06 01:09:12 +03:00
|
|
|
wasm-bindgen = { version = "0.2.68", optional = true }
|
|
|
|
web-sys = { version = "0.3.45", optional = true }
|
2020-10-03 07:31:56 +03:00
|
|
|
winit = "0.23.0"
|