abstreet/widgetry/Cargo.toml

39 lines
1.2 KiB
TOML
Raw Normal View History

[package]
name = "widgetry"
version = "0.1.0"
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
edition = "2018"
[features]
default = ["glow-backend"]
glow-backend = ["glow", "glutin", "usvg/text", "usvg/text_native"]
wasm-backend = ["glow/stdweb", "instant/stdweb", "stdweb", "usvg/text", "usvg/text_stdweb", "webgl_stdweb", "winit/stdweb"]
[dependencies]
2018-09-26 00:36:02 +03:00
abstutil = { path = "../abstutil" }
# backtrace = "0.3.40"
2020-09-24 19:36:26 +03:00
downcast-rs = "1.2.0"
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"
# 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"
stdweb = { version = "0.4.20", optional = true }
stretch = "0.3.2"
2020-09-24 19:36:26 +03:00
ttf-parser = "0.8.2"
usvg = { git = "https://github.com/dabreegster/resvg/", branch = "wasm", default-features=false }
webgl_stdweb = { version = "0.3", optional = true }
2020-10-03 07:31:56 +03:00
winit = "0.23.0"
[dev-dependencies]
rand = "0.7.0"
rand_xorshift = "0.2.0"
svg_face = "0.1.2"