abstreet/abstutil/Cargo.toml
Dustin Carlino bb6dbb0731 Switch from stdweb to websys for #21.
When I added web support in February, it was easier to get started with
stdweb, since it has the nice cargo web tool. However, stdweb is
unmaintained, winit is deprecating support for it, and the next steps
for web (downloading maps dynamically) have better support for web-sys.

With Alvin's guidance, I got
https://github.com/dabreegster/minimal_websys_winit_glow_demo working
first. This PR cuts A/B Street over too.

I tested abst and the widgetry demo in both native and web. The only
major regression from stdweb is the canvas placement and size. I
attempted some fixes, but at this point, I'll leave it as a smaller
followup instead.
2020-10-05 19:50:52 -07:00

27 lines
565 B
TOML

[package]
name = "abstutil"
version = "0.1.0"
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
edition = "2018"
[features]
profiler = ["cpuprofiler"]
[dependencies]
bincode = "1.3.1"
cpuprofiler = { version = "0.0.4", optional = true }
instant = "0.1.7"
itertools = "0.9.0"
lazy_static = "1.4.0"
log = { version = "0.4.11", features=["std"] }
num_cpus = "1.13.0"
scoped_threadpool = "0.1.9"
serde = "1.0.116"
serde_json = "1.0.57"
[target.'cfg(unix)'.dependencies]
termion = "1.5.1"
[target.'cfg(target_arch = "wasm32")'.dependencies]
include_dir = "0.6.0"