[workspace] members = [ "direct-composition", "examples", "webrender", "webrender_api", "wrench", "example-compositor/compositor", "tileview", ] [profile.release] debug = true panic = "abort" [profile.dev] panic = "abort" # optimizing glsl more makes a big difference in swgl build times [profile.dev.package.glsl] opt-level = 2 [profile.release.package.glsl] opt-level = 2 # Running wrench on android built with master cargo-apk results in a crash # due to a mismatched version of android_glue (a dependency of winit). # Override it to use a suitable version of android_glue. # See https://github.com/rust-windowing/android-rs-glue/issues/239. # This can be removed once a new version of android_glue is published to crates.io. [patch.crates-io] android_glue = { git = "https://github.com/rust-windowing/android-rs-glue.git", rev = "e3ac6edea5814e1faca0c31ea8fac6877cb929ea" } # this is a version that fixes some incompatibilites with newer rust/aarch64 winit = { version = "0.19", git = "https://github.com/jrmuizel/winit", branch="wr" }