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

Fix sh/check.sh (#1446)

* Don't bother serializing date in widget gallery
* Make egui_extras non-optional dependency of egui_demo_lib
This commit is contained in:
Emil Ernerfeldt
2022-04-03 18:14:40 +02:00
committed by GitHub
parent 10f30a0c52
commit 861b0e11ba
3 changed files with 12 additions and 34 deletions

View File

@@ -28,7 +28,7 @@ extra_debug_asserts = ["egui/extra_debug_asserts"]
extra_asserts = ["egui/extra_asserts"]
datetime = ["egui_extras/chrono", "chrono"]
http = ["egui_extras", "ehttp", "image", "poll-promise"]
http = ["ehttp", "image", "poll-promise"]
persistence = [
"egui/persistence",
"epi/persistence",
@@ -42,6 +42,10 @@ syntax_highlighting = ["syntect"]
[dependencies]
egui = { version = "0.17.0", path = "../egui", default-features = false }
epi = { version = "0.17.0", path = "../epi" }
egui_extras = { version = "0.17.0", path = "../egui_extras", features = [
"image",
"datepicker",
] }
chrono = { version = "0.4", optional = true, features = ["js-sys", "wasmbind"] }
enum-map = { version = "2", features = ["serde"] }
@@ -49,10 +53,6 @@ tracing = "0.1"
unicode_names2 = { version = "0.5.0", default-features = false }
# feature "http":
egui_extras = { version = "0.17.0", path = "../egui_extras", optional = true, features = [
"image",
"datepicker",
] }
ehttp = { version = "0.2.0", optional = true }
image = { version = "0.24", optional = true, default-features = false, features = [
"jpeg",