2019-02-09 22:00:07 +00:00
|
|
|
[package]
|
2020-12-29 16:54:52 +00:00
|
|
|
name = "egui_demo_app"
|
2022-08-20 14:44:05 +00:00
|
|
|
version = "0.19.0"
|
2020-05-30 09:04:40 +00:00
|
|
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
2020-05-26 13:07:31 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-12-25 18:32:25 +00:00
|
|
|
edition = "2021"
|
2022-11-02 18:38:39 +00:00
|
|
|
rust-version = "1.62"
|
2021-01-17 14:16:00 +00:00
|
|
|
publish = false
|
2022-05-12 11:30:35 +00:00
|
|
|
default-run = "egui_demo_app"
|
2019-02-09 22:00:07 +00:00
|
|
|
|
2022-02-05 10:11:15 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
2019-02-09 22:00:07 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
2022-02-05 10:11:15 +00:00
|
|
|
|
|
|
|
[features]
|
2022-05-12 07:02:28 +00:00
|
|
|
default = ["glow", "persistence"]
|
2022-04-28 09:23:34 +00:00
|
|
|
|
|
|
|
http = ["ehttp", "image", "poll-promise", "egui_extras/image"]
|
|
|
|
persistence = [
|
|
|
|
"eframe/persistence",
|
|
|
|
"egui/persistence",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
screen_reader = ["eframe/screen_reader"] # experimental
|
|
|
|
serde = [
|
|
|
|
"dep:serde",
|
|
|
|
"egui_demo_lib/serde",
|
|
|
|
"egui_extras/serde",
|
|
|
|
"egui/serde",
|
|
|
|
]
|
2022-02-05 10:11:15 +00:00
|
|
|
syntax_highlighting = ["egui_demo_lib/syntax_highlighting"]
|
|
|
|
|
2022-05-12 07:02:28 +00:00
|
|
|
glow = ["eframe/glow"]
|
2022-08-28 08:58:58 +00:00
|
|
|
wgpu = ["eframe/wgpu", "bytemuck"]
|
2022-05-12 07:02:28 +00:00
|
|
|
|
2022-02-05 10:11:15 +00:00
|
|
|
|
2019-02-09 22:00:07 +00:00
|
|
|
[dependencies]
|
2022-04-28 09:23:34 +00:00
|
|
|
chrono = { version = "0.4", features = ["js-sys", "wasmbind"] }
|
2022-08-20 14:44:05 +00:00
|
|
|
eframe = { version = "0.19.0", path = "../eframe", default-features = false }
|
|
|
|
egui = { version = "0.19.0", path = "../egui", features = ["extra_debug_asserts"] }
|
|
|
|
egui_demo_lib = { version = "0.19.0", path = "../egui_demo_lib", features = ["chrono"] }
|
2022-08-20 17:54:18 +00:00
|
|
|
tracing = "0.1"
|
2022-04-28 09:23:34 +00:00
|
|
|
|
|
|
|
# Optional dependencies:
|
2021-12-31 14:17:55 +00:00
|
|
|
|
2022-07-24 15:13:12 +00:00
|
|
|
bytemuck = { version = "1.7.1", optional = true }
|
2022-08-20 14:44:05 +00:00
|
|
|
egui_extras = { version = "0.19.0", optional = true, path = "../egui_extras" }
|
2021-10-19 19:40:55 +00:00
|
|
|
|
2022-04-28 09:23:34 +00:00
|
|
|
# feature "http":
|
|
|
|
ehttp = { version = "0.2.0", optional = true }
|
|
|
|
image = { version = "0.24", optional = true, default-features = false, features = [
|
|
|
|
"jpeg",
|
|
|
|
"png",
|
2022-03-10 13:25:33 +00:00
|
|
|
] }
|
2022-04-28 09:23:34 +00:00
|
|
|
poll-promise = { version = "0.1", optional = true, default-features = false }
|
|
|
|
|
|
|
|
# feature "persistence":
|
|
|
|
serde = { version = "1", optional = true, features = ["derive"] }
|
|
|
|
|
2022-04-13 20:05:19 +00:00
|
|
|
|
|
|
|
# native:
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2022-02-01 11:27:39 +00:00
|
|
|
tracing-subscriber = "0.3"
|
2022-02-10 14:44:41 +00:00
|
|
|
|
2022-04-13 20:05:19 +00:00
|
|
|
# web:
|
2022-02-10 14:44:41 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
console_error_panic_hook = "0.1.6"
|
2022-02-22 18:32:30 +00:00
|
|
|
tracing-wasm = "0.2"
|
2022-10-05 18:14:18 +00:00
|
|
|
wasm-bindgen-futures = "0.4"
|