You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.1 KiB

[package]
name = "egui_demo_lib"
version = "0.17.0"
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "Example library for egui"
edition = "2021"
rust-version = "1.56"
homepage = "https://github.com/emilk/egui/tree/master/egui_demo_lib"
license = "MIT OR Apache-2.0"
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"]
[package.metadata.docs.rs]
all-features = true
[lib]
[features]
default = ["datetime"]
# 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"]
datetime = ["egui_extras/chrono", "chrono"]
http = ["egui_extras", "ehttp", "image", "poll-promise"]
persistence = [
"egui/persistence",
"epi/persistence",
"egui_extras/persistence",
"serde",
]
serialize = ["egui/serialize", "serde"]
syntax_highlighting = ["syntect"]
[dependencies]
egui = { version = "0.17.0", path = "../egui", default-features = false }
epi = { version = "0.17.0", path = "../epi" }
chrono = { version = "0.4", optional = true, features = ["js-sys", "wasmbind"] }
enum-map = { version = "2", features = ["serde"] }
tracing = "0.1"
Update crates (#1283) * Update rfd 0.8 -&gt; 0.8 * Update webbrowser 0.5 -&gt; 0.6 * Update unicode_names2 0.4 -&gt; 0.5 * cargo update Updating crates.io index Adding arrayvec v0.7.2 Updating async-lock v2.4.0 -&gt; v2.5.0 Updating autocfg v1.0.1 -&gt; v1.1.0 Updating cc v1.0.72 -&gt; v1.0.73 Updating cfg-expr v0.9.1 -&gt; v0.10.1 Updating core-foundation v0.9.2 -&gt; v0.9.3 Updating crc32fast v1.3.1 -&gt; v1.3.2 Updating crossbeam-epoch v0.9.6 -&gt; v0.9.7 Updating crossbeam-utils v0.8.6 -&gt; v0.8.7 Updating deflate v0.9.1 -&gt; v1.0.0 Removing encoding v0.2.33 Removing encoding-index-japanese v1.20141219.5 Removing encoding-index-korean v1.20141219.5 Removing encoding-index-simpchinese v1.20141219.5 Removing encoding-index-singlebyte v1.20141219.5 Removing encoding-index-tradchinese v1.20141219.5 Removing encoding_index_tests v0.1.4 Updating enum-map v2.0.1 -&gt; v2.0.2 Updating futures-core v0.3.19 -&gt; v0.3.21 Updating futures-io v0.3.19 -&gt; v0.3.21 Updating futures-sink v0.3.19 -&gt; v0.3.21 Updating futures-task v0.3.19 -&gt; v0.3.21 Updating futures-util v0.3.19 -&gt; v0.3.21 Updating gio-sys v0.15.4 -&gt; v0.15.6 Updating glib-sys v0.15.4 -&gt; v0.15.6 Updating gobject-sys v0.15.1 -&gt; v0.15.5 Updating image v0.24.0 -&gt; v0.24.1 Updating kurbo v0.8.0 -&gt; v0.8.3 Updating libc v0.2.117 -&gt; v0.2.119 Updating memmap2 v0.5.2 -&gt; v0.5.3 Adding miniz_oxide v0.5.1 Adding ndk-context v0.1.0 Removing ndk-glue v0.5.0 Removing ndk-glue v0.6.0 Adding ndk-glue v0.5.1 Adding ndk-glue v0.6.1 Updating ntapi v0.3.6 -&gt; v0.3.7 Updating png v0.17.2 -&gt; v0.17.3 Updating proc-macro-crate v1.1.0 -&gt; v1.1.2 Updating rand v0.8.4 -&gt; v0.8.5 Removing rand_hc v0.3.1 Updating rustls v0.20.2 -&gt; v0.20.4 Updating semver v1.0.4 -&gt; v1.0.5 Updating serde_json v1.0.78 -&gt; v1.0.79 Updating system-deps v6.0.1 -&gt; v6.0.2 Updating tracing v0.1.30 -&gt; v0.1.31 Updating tracing-subscriber v0.3.7 -&gt; v0.3.9 Updating tts v0.20.2 -&gt; v0.20.3 Removing windows v0.30.0 Removing windows_aarch64_msvc v0.30.0 Removing windows_i686_gnu v0.30.0 Removing windows_i686_msvc v0.30.0 Removing windows_x86_64_gnu v0.30.0 Removing windows_x86_64_msvc v0.30.0
3 years ago
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",
"png",
] }
poll-promise = { version = "0.1", optional = true, default-features = false }
# feature "syntax_highlighting":
syntect = { version = "4", optional = true, default-features = false, features = [
"default-fancy",
] }
# feature "persistence":
serde = { version = "1", optional = true, features = ["derive"] }
[dev-dependencies]
criterion = { version = "0.3", default-features = false }
[[bench]]
name = "benchmark"
harness = false