abstreet/Cargo.toml
Michael Kirk 3ed8b9cf81 Fix glium build, which was broken with: 85ad194d
85ad194d introduced a patched winit.

In the glium build, we were pulling in a second version of winit (the
unpatched version, via glutin). This caused conflicts between the data
types, breaking the build.

Apparently the proper way to specify a patch like this, usable by
transitive dependencies, is via cargo's "patch" specifiers
2020-08-14 15:11:49 -07:00

27 lines
589 B
TOML

[workspace]
members = [
"abstutil",
"convert_osm",
"ezgui",
"game",
"geom",
"headless",
"importer",
"kml",
"map_editor",
"map_model",
"sim",
"updater",
]
# See https://doc.rust-lang.org/cargo/reference/profiles.html#overrides. This
# compiles all external dependencies as release mode, yielding great runtime
# speed, but only paying the cost of slow compilation once (since we don't
# update dependencies often).
[profile.dev.package."*"]
opt-level = 3
[patch.crates-io]
winit = { git = "https://github.com/michaelkirk/winit", branch = "mkirk/fix-stdweb-dpi" }