mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 15:20:05 -04:00
integrate into egui
This commit is contained in:
@@ -10,12 +10,7 @@ readme = "README.md"
|
||||
repository = "https://github.com/emilk/egui/tree/master/egui_demo_lib"
|
||||
categories = ["gui", "graphics"]
|
||||
keywords = ["glium", "egui", "gui", "gamedev"]
|
||||
include = [
|
||||
"../LICENSE-APACHE",
|
||||
"../LICENSE-MIT",
|
||||
"**/*.rs",
|
||||
"Cargo.toml",
|
||||
]
|
||||
include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
@@ -25,6 +20,7 @@ all-features = true
|
||||
[dependencies]
|
||||
egui = { version = "0.15.0", path = "../egui", default-features = false }
|
||||
epi = { version = "0.15.0", path = "../epi" }
|
||||
egui_datepicker = { version = "0.15.0", path = "../egui_datepicker", optional = true }
|
||||
|
||||
chrono = { version = "0.4", features = ["js-sys", "wasmbind"], optional = true }
|
||||
enum-map = { version = "1", features = ["serde"] }
|
||||
@@ -32,10 +28,15 @@ unicode_names2 = { version = "0.4.0", default-features = false }
|
||||
|
||||
# feature "http":
|
||||
ehttp = { version = "0.1.0", optional = true }
|
||||
image = { version = "0.23", default-features = false, features = ["jpeg", "png"], optional = true }
|
||||
image = { version = "0.23", default-features = false, features = [
|
||||
"jpeg",
|
||||
"png",
|
||||
], optional = true }
|
||||
|
||||
# feature "syntax_highlighting":
|
||||
syntect = { version = "4", default-features = false, features = ["default-fancy"], optional = true }
|
||||
syntect = { version = "4", default-features = false, features = [
|
||||
"default-fancy",
|
||||
], optional = true }
|
||||
|
||||
# feature "persistence":
|
||||
serde = { version = "1", features = ["derive"], optional = true }
|
||||
@@ -44,7 +45,8 @@ serde = { version = "1", features = ["derive"], optional = true }
|
||||
criterion = { version = "0.3", default-features = false }
|
||||
|
||||
[features]
|
||||
default = ["chrono"]
|
||||
default = ["datetime"]
|
||||
datetime = ["egui_datepicker", "chrono"]
|
||||
|
||||
# Enable additional checks if debug assertions are enabled (debug builds).
|
||||
extra_debug_asserts = ["egui/extra_debug_asserts"]
|
||||
@@ -53,7 +55,7 @@ extra_asserts = ["egui/extra_asserts"]
|
||||
|
||||
http = ["ehttp", "image"]
|
||||
persistence = ["egui/persistence", "epi/persistence", "serde"]
|
||||
serialize = ["egui/serialize", "serde"]
|
||||
serialize = ["egui/serialize", "serde"]
|
||||
syntax_highlighting = ["syntect"]
|
||||
|
||||
[[bench]]
|
||||
|
||||
Reference in New Issue
Block a user