1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 23:00:04 -04:00

Remove the single_threaded/multi_threaded feature flags (#1390)

Always use parking_lot for mutexes, i.e. always be multi-threaded.

Closes #1379
This commit is contained in:
Emil Ernerfeldt
2022-03-21 22:20:37 +01:00
committed by GitHub
parent 5c68edbb15
commit 15254f8235
15 changed files with 21 additions and 120 deletions

View File

@@ -27,9 +27,7 @@ svg = ["resvg", "tiny-skia", "usvg"]
[dependencies]
egui = { version = "0.17.0", path = "../egui", default-features = false, features = [
"single_threaded",
] }
egui = { version = "0.17.0", path = "../egui", default-features = false }
parking_lot = "0.12"
# Optional dependencies:
@@ -37,7 +35,7 @@ parking_lot = "0.12"
# Add support for loading images with the `image` crate.
# You also need to ALSO opt-in to the image formats you want to support, like so:
# image = { version = "0.24", features = ["jpeg", "png"] }
image = { version = "0.24", optional = true, default-features = false, features = [] }
image = { version = "0.24", optional = true, default-features = false }
# svg feature
resvg = { version = "0.22", optional = true }