abstreet/ezgui/Cargo.toml

38 lines
1.1 KiB
TOML

[package]
name = "ezgui"
version = "0.1.0"
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
edition = "2018"
[features]
default = ["glium-backend"]
glium-backend = ["glium", "glutin", "usvg/text"]
glow-backend = ["glow", "glutin", "usvg/text"]
wasm-backend = ["glow/stdweb", "instant/stdweb", "stdweb", "webgl_stdweb", "winit/stdweb"]
[dependencies]
abstutil = { path = "../abstutil" }
# backtrace = "0.3.40"
downcast-rs = "1.1.1"
geom = { path = "../geom" }
glium = { version = "0.27.0", optional = true }
glow = { version = "0.4.0", optional = true, default-features=false }
glutin = { version = "0.24.1", optional = true }
htmlescape = "0.3.1"
image = { version = "0.23.4", default-features = false, features=["png"] }
instant = "0.1.2"
lru = "0.4.3"
lyon = "0.15.8"
serde = "1.0.110"
stdweb = { version = "0.4.20", optional = true }
stretch = "0.3.2"
ttf-parser = "0.6.1"
usvg = { git = "https://github.com/RazrFalcon/resvg", default-features=false }
webgl_stdweb = { version = "0.3", optional = true }
winit = "0.22.2"
[dev-dependencies]
rand = "0.7.0"
rand_xorshift = "0.2.0"
svg_face = "0.1.2"