Clean up dependencies and features flags

This commit is contained in:
Emil Ernerfeldt
2021-03-31 22:53:54 +02:00
parent 0d7c84c327
commit f79f24c83e
3 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -25,12 +25,13 @@ serde = { version = "1", features = ["derive", "rc"], optional = true }
[features]
default = ["default_fonts", "single_threaded"]
persistence = ["serde", "epaint/persistence"]
# If set, egui will use `include_bytes!` to bundle some fonts.
# If you plan on specifying your own fonts you may disable this feature.
default_fonts = ["epaint/default_fonts"]
persistence = ["serde", "epaint/persistence"]
# Only needed if you plan to use the same egui::Context from multiple threads.
single_threaded = ["epaint/single_threaded"]
multi_threaded = ["epaint/multi_threaded"]