abstreet/map_gui/Cargo.toml

51 lines
1.4 KiB
TOML
Raw Normal View History

[package]
name = "map_gui"
version = "0.1.0"
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
edition = "2018"
[features]
Fix compilation failures and most clippy warnings (#642) * abstutil: Fix compilation failure * map_gui: Fix compilation * traffic_signal_data: Fix compilation failure * map_model: Fix compilation failure * abstutil: Fix doctests * abstio: Fix most clippy warnings * abstutil: Fix most clippy warnings * collisions: Fix clippy warning * convert_osm: Fix clippy warnings * sim: Fix most clippy warnings * geom: Fix clippy warnings * kml: Fix clippy warnings * map_model: Fix most clippy warnings * fifteen_min: Fix clippy warnings * game: Fix many clippy warnings * Disable some noisy clippy warnings * headless: Fix clippy warnings * importer: Fix clippy warnings * map_editor: Fix clippy warnings * map_gui: Fix clippy warnings * osm_viewer: Fix clippy warnings * parking_mapper: Fix most clippy warnings * popdat: Fix clippy warnings * santa: Fix clippy warnings * sumo: Fix clippy warnings * traffic_seitan: Fix clippy warning * updater: Fix clippy warnings * widgetry: Fix clippy warnings * tests: Fix some clippy warnings * Fix compilation on stable Rust * Simplify unwrapping * Make use of `Entry` more readable * Fix formatting * Fix code that was broken in the refactoring * Apply cargo +stable fmt * Fix code that was broken in the refactoring, second try * Remove `Default` impls that are equivalent to `new` * Remove obsolete clippy wrapper * Avoid turbofish * Prefer `unwrap_or_else` over allowing `clippy::or_fun_call` * Remove redundant `into_iter` * Fix typo * Prefer `&& false` over commenting code out * Fix some clippy warnings Co-authored-by: Dustin Carlino <dabreegster@gmail.com>
2021-05-14 18:32:56 +03:00
native = ["clipboard", "subprocess", "tokio", "widgetry/native-backend"]
wasm = ["js-sys", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", "widgetry/wasm-backend"]
# A marker to use a named release from S3 instead of dev for updating files
release_s3 = []
[dependencies]
aabb-quadtree = "0.1.0"
abstio = { path = "../abstio" }
abstutil = { path = "../abstutil" }
2021-02-04 05:13:06 +03:00
anyhow = "1.0.38"
clipboard = { version = "0.5.0", optional = true }
colorous = "1.0.3"
2020-12-15 04:48:47 +03:00
contour = "0.3.0"
2021-02-04 05:13:06 +03:00
flate2 = "1.0.20"
futures = { version = "0.3.12" }
futures-channel = { version = "0.3.12"}
geojson = "0.22"
geom = { path = "../geom" }
instant = "0.1.7"
2021-02-04 05:13:06 +03:00
js-sys = { version = "0.3.47", optional = true }
log = "0.4.14"
map_model = { path = "../map_model" }
2021-02-04 05:13:06 +03:00
serde = "1.0.123"
sim = { path = "../sim" }
subprocess = { git = "https://github.com/hniksic/rust-subprocess", optional = true }
tokio = { version ="1.1.1", features=["rt-multi-thread"], optional = true }
2021-02-04 05:13:06 +03:00
wasm-bindgen = { version = "0.2.70", optional = true }
wasm-bindgen-futures = { version = "0.4.20", optional = true }
webbrowser = "0.5.5"
widgetry = { path = "../widgetry" }
[dependencies.web-sys]
2021-02-04 05:13:06 +03:00
version = "0.3.47"
optional = true
features = [
"Headers",
"History",
"Request",
"RequestInit",
"RequestMode",
"Response",
"Window",
]