mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -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:
@@ -20,7 +20,7 @@ all-features = true
|
||||
|
||||
|
||||
[features]
|
||||
default = ["default_fonts", "single_threaded"]
|
||||
default = ["default_fonts"]
|
||||
|
||||
# add compatibility with https://crates.io/crates/cint
|
||||
cint = ["epaint/cint"]
|
||||
@@ -46,11 +46,6 @@ persistence = ["serde", "epaint/serialize", "ron"]
|
||||
# implement serde on most types.
|
||||
serialize = ["serde", "epaint/serialize"]
|
||||
|
||||
# multi_threaded is only needed if you plan to use the same egui::Context
|
||||
# from multiple threads. It comes with a minor performance impact.
|
||||
single_threaded = ["epaint/single_threaded"]
|
||||
multi_threaded = ["epaint/multi_threaded"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
epaint = { version = "0.17.0", path = "../epaint", default-features = false }
|
||||
|
||||
Reference in New Issue
Block a user