abstreet/santa/Cargo.toml
Dustin Carlino e99def9124 Switch all error handling to anyhow. Nothing consumes our code as a
library yet, so this is a step forward from string errors. Manually
tested how errors show up (including the nice with_context bit).
2021-01-05 11:35:03 -08:00

30 lines
822 B
TOML

[package]
name = "santa"
version = "0.1.0"
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
edition = "2018"
[lib]
crate-type = ["cdylib", "lib"]
[features]
default = ["map_gui/native", "widgetry/native-backend"]
wasm = ["getrandom/js", "map_gui/wasm", "wasm-bindgen", "widgetry/wasm-backend"]
[dependencies]
abstio = { path = "../abstio" }
abstutil = { path = "../abstutil" }
anyhow = "1.0.37"
geom = { path = "../geom" }
getrandom = { version = "0.2.0", optional = true }
kml = { path = "../kml" }
log = "0.4.11"
map_gui = { path = "../map_gui" }
map_model = { path = "../map_model" }
rand = "0.8.1"
rand_xorshift = "0.3.0"
rodio = { version = "0.13.0", default-features = false, features = ["vorbis"] }
serde = "1.0.116"
wasm-bindgen = { version = "0.2.68", optional = true }
widgetry = { path = "../widgetry" }