2020-12-29 12:40:11 +00:00
|
|
|
[package]
|
|
|
|
name = "egui_demo_lib"
|
2021-12-29 11:07:05 +00:00
|
|
|
version = "0.16.0"
|
2020-12-29 12:40:11 +00:00
|
|
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
2021-01-17 13:48:59 +00:00
|
|
|
description = "Example library for egui"
|
2021-12-25 18:32:25 +00:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.56"
|
2021-09-03 19:12:44 +00:00
|
|
|
homepage = "https://github.com/emilk/egui/tree/master/egui_demo_lib"
|
2020-12-29 12:40:11 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
readme = "README.md"
|
2021-09-03 19:12:44 +00:00
|
|
|
repository = "https://github.com/emilk/egui/tree/master/egui_demo_lib"
|
2020-12-29 12:40:11 +00:00
|
|
|
categories = ["gui", "graphics"]
|
|
|
|
keywords = ["glium", "egui", "gui", "gamedev"]
|
2021-03-09 17:34:14 +00:00
|
|
|
include = [
|
|
|
|
"../LICENSE-APACHE",
|
|
|
|
"../LICENSE-MIT",
|
|
|
|
"**/*.rs",
|
|
|
|
"Cargo.toml",
|
|
|
|
]
|
2020-12-29 12:40:11 +00:00
|
|
|
|
2021-05-12 18:02:25 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
2020-12-29 12:40:11 +00:00
|
|
|
[lib]
|
|
|
|
|
2022-02-05 10:11:15 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["chrono"]
|
|
|
|
|
|
|
|
# Enable additional checks if debug assertions are enabled (debug builds).
|
|
|
|
extra_debug_asserts = ["egui/extra_debug_asserts"]
|
|
|
|
# Always enable additional checks.
|
|
|
|
extra_asserts = ["egui/extra_asserts"]
|
|
|
|
|
|
|
|
http = ["ehttp", "image", "poll-promise"]
|
|
|
|
persistence = ["egui/persistence", "epi/persistence", "serde"]
|
|
|
|
serialize = ["egui/serialize", "serde"]
|
|
|
|
syntax_highlighting = ["syntect"]
|
|
|
|
|
|
|
|
|
2020-12-29 12:40:11 +00:00
|
|
|
[dependencies]
|
2021-12-29 11:07:05 +00:00
|
|
|
egui = { version = "0.16.0", path = "../egui", default-features = false }
|
2022-02-21 14:26:26 +00:00
|
|
|
egui_extras = { version = "0.16.0", path = "../egui_extras", features = ["image"] }
|
2021-12-29 11:07:05 +00:00
|
|
|
epi = { version = "0.16.0", path = "../epi" }
|
2021-10-01 19:29:33 +00:00
|
|
|
|
2021-10-19 13:37:20 +00:00
|
|
|
chrono = { version = "0.4", features = ["js-sys", "wasmbind"], optional = true }
|
2022-01-15 19:34:03 +00:00
|
|
|
enum-map = { version = "2", features = ["serde"] }
|
2022-02-21 14:40:25 +00:00
|
|
|
unicode_names2 = { version = "0.5.0", default-features = false }
|
2021-01-01 16:11:05 +00:00
|
|
|
|
2021-01-04 00:44:02 +00:00
|
|
|
# feature "http":
|
2022-01-15 19:34:03 +00:00
|
|
|
ehttp = { version = "0.2.0", optional = true }
|
2022-02-04 12:20:18 +00:00
|
|
|
image = { version = "0.24", default-features = false, features = ["jpeg", "png"], optional = true }
|
2022-01-15 19:34:03 +00:00
|
|
|
poll-promise = { version = "0.1", default-features = false, optional = true }
|
2021-03-31 20:53:54 +00:00
|
|
|
|
|
|
|
# feature "syntax_highlighting":
|
|
|
|
syntect = { version = "4", default-features = false, features = ["default-fancy"], optional = true }
|
2021-01-04 00:44:02 +00:00
|
|
|
|
|
|
|
# feature "persistence":
|
|
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
2020-12-29 12:40:11 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
criterion = { version = "0.3", default-features = false }
|
|
|
|
|
2021-09-29 06:45:13 +00:00
|
|
|
|
2020-12-29 12:40:11 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "benchmark"
|
|
|
|
harness = false
|