mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-21 21:31:30 +03:00
37 lines
1.0 KiB
TOML
37 lines
1.0 KiB
TOML
[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"]
|
|
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" }
|
|
glow = { version = "0.5.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"
|
|
log = "0.4"
|
|
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"
|