mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Move code from egui_demo_lib to egui_demo_app (#1540)
Also clean up feature names and dependencies
This commit is contained in:
@@ -26,14 +26,13 @@ all-features = true
|
||||
[features]
|
||||
default = []
|
||||
|
||||
# Support loading svg images
|
||||
svg = ["resvg", "tiny-skia", "usvg"]
|
||||
|
||||
# Datepicker widget
|
||||
datepicker = ["chrono"]
|
||||
|
||||
# Persistence
|
||||
persistence = ["serde"]
|
||||
serde = ["dep:serde"]
|
||||
|
||||
# Support loading svg images
|
||||
svg = ["resvg", "tiny-skia", "usvg"]
|
||||
|
||||
# Log warnings using `tracing` crate
|
||||
tracing = ["dep:tracing", "egui/tracing"]
|
||||
@@ -57,7 +56,7 @@ resvg = { version = "0.22", optional = true }
|
||||
tiny-skia = { version = "0.6", optional = true }
|
||||
usvg = { version = "0.22", optional = true }
|
||||
|
||||
# feature "persistence":
|
||||
# feature "serde":
|
||||
serde = { version = "1", features = ["derive"], optional = true }
|
||||
|
||||
# feature "tracing"
|
||||
|
||||
Reference in New Issue
Block a user