mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-27 16:36:02 +03:00
889c500eb1
binaries properly share workspace dependencies. See https://www.reddit.com/r/rust/comments/nvd6y7/common_crates_in_cargo_workspace_recompiled_due/ for the full story behind this mess. I'm going to keep repeating this process until I get game and importer to share dependencies again.
35 lines
1.0 KiB
TOML
35 lines
1.0 KiB
TOML
[package]
|
|
name = "widgetry"
|
|
version = "0.1.0"
|
|
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
native-backend = ["glutin", "usvg/system-fonts", "usvg/text"]
|
|
wasm-backend = ["instant/wasm-bindgen", "usvg/text", "wasm-bindgen", "web-sys", "winit/web-sys"]
|
|
|
|
[dependencies]
|
|
abstutil = { path = "../abstutil" }
|
|
anyhow = "1.0.38"
|
|
# backtrace = "0.3.40"
|
|
downcast-rs = "1.2.0"
|
|
geojson = { version = "0.22.0", features = ["geo-types"] }
|
|
geom = { path = "../geom" }
|
|
glow = "0.9.0"
|
|
glutin = { version = "0.26.0", optional = true }
|
|
htmlescape = "0.3.1"
|
|
image = { version = "0.23.12", default-features = false, features=["png"] }
|
|
instant = "0.1.7"
|
|
log = "0.4.14"
|
|
lru = "0.6.4"
|
|
# Don't upgrade until a crash with opening lane info panels is fixed
|
|
lyon = "0.16.2"
|
|
serde = "1.0.123"
|
|
serde_json = "1.0.61"
|
|
stretch = "0.3.2"
|
|
ttf-parser = "0.12.0"
|
|
usvg = { version = "0.14.0", default-features=false, features=["text"] }
|
|
wasm-bindgen = { version = "0.2.70", optional = true }
|
|
web-sys = { version = "0.3.47", optional = true }
|
|
winit = "0.24.0"
|