abstreet/widgetry/Cargo.toml

31 lines
972 B
TOML

[package]
name = "widgetry"
version = "0.1.0"
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
edition = "2018"
[features]
native-backend = ["glow", "glutin", "usvg/system-fonts", "usvg/text"]
wasm-backend = ["glow/web-sys", "instant/wasm-bindgen", "usvg/text", "wasm-bindgen", "web-sys", "winit/web-sys"]
[dependencies]
abstutil = { path = "../abstutil" }
# backtrace = "0.3.40"
downcast-rs = "1.2.0"
geom = { path = "../geom" }
glow = { version = "0.6.0", optional = true, default-features=false }
glutin = { version = "0.26.0", optional = true }
htmlescape = "0.3.1"
image = { version = "0.23.9", default-features = false, features=["png"] }
instant = "0.1.7"
log = "0.4.11"
lru = "0.6.1"
lyon = "0.16.2"
serde = "1.0.116"
stretch = "0.3.2"
ttf-parser = "0.8.2"
usvg = { git = "https://github.com/RazrFalcon/resvg", default-features=false }
wasm-bindgen = { version = "0.2.68", optional = true }
web-sys = { version = "0.3.45", optional = true }
winit = "0.24.0"