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-02-15 01:28:25 +03:00
|
|
|
glow-backend = ["glow", "glutin", "usvg/text"]
|
|
|
|
wasm-backend = ["glow/stdweb", "instant/stdweb", "stdweb", "webgl_stdweb", "winit/stdweb"]
|
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-03-23 00:06:02 +03:00
|
|
|
downcast-rs = "1.1.1"
|
2018-08-09 20:52:55 +03:00
|
|
|
geom = { path = "../geom" }
|
2020-08-13 18:26:49 +03:00
|
|
|
glow = { version = "0.5.0", optional = true, default-features=false }
|
2020-06-01 19:18:17 +03:00
|
|
|
glutin = { version = "0.24.1", optional = true }
|
2020-02-07 22:32:10 +03:00
|
|
|
htmlescape = "0.3.1"
|
2020-05-09 19:48:23 +03:00
|
|
|
image = { version = "0.23.4", default-features = false, features=["png"] }
|
2020-02-15 01:28:25 +03:00
|
|
|
instant = "0.1.2"
|
2020-09-11 00:20:35 +03:00
|
|
|
log = "0.4"
|
2020-02-09 00:25:48 +03:00
|
|
|
lru = "0.4.3"
|
2020-06-19 03:44:12 +03:00
|
|
|
lyon = "0.15.8"
|
2020-05-20 01:06:32 +03:00
|
|
|
serde = "1.0.110"
|
2020-02-15 01:28:25 +03:00
|
|
|
stdweb = { version = "0.4.20", optional = true }
|
2019-12-21 02:56:04 +03:00
|
|
|
stretch = "0.3.2"
|
2020-06-26 21:22:22 +03:00
|
|
|
ttf-parser = "0.6.1"
|
2020-06-29 19:36:37 +03:00
|
|
|
usvg = { git = "https://github.com/RazrFalcon/resvg", default-features=false }
|
2020-02-15 01:28:25 +03:00
|
|
|
webgl_stdweb = { version = "0.3", optional = true }
|
2020-08-15 00:57:16 +03:00
|
|
|
winit = "0.22.2"
|
2020-07-01 19:04:55 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
rand = "0.7.0"
|
|
|
|
rand_xorshift = "0.2.0"
|
|
|
|
svg_face = "0.1.2"
|