61 lines
1.6 KiB
TOML
61 lines
1.6 KiB
TOML
[package]
|
|
name = "egui_demo_lib"
|
|
version.workspace = true
|
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
|
description = "Example library for egui"
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
homepage = "https://github.com/emilk/egui/tree/master/crates/egui_demo_lib"
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
repository = "https://github.com/emilk/egui/tree/master/crates/egui_demo_lib"
|
|
categories = ["gui", "graphics"]
|
|
keywords = ["glium", "egui", "gui", "gamedev"]
|
|
include = [
|
|
"../LICENSE-APACHE",
|
|
"../LICENSE-MIT",
|
|
"**/*.rs",
|
|
"Cargo.toml",
|
|
"data/icon.png",
|
|
]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[lib]
|
|
|
|
|
|
[features]
|
|
default = []
|
|
|
|
chrono = ["egui_extras/datepicker", "dep:chrono"]
|
|
|
|
## Allow serialization using [`serde`](https://docs.rs/serde).
|
|
serde = ["egui/serde", "egui_plot/serde", "dep:serde"]
|
|
|
|
## Enable better syntax highlighting using [`syntect`](https://docs.rs/syntect).
|
|
syntect = ["egui_extras/syntect"]
|
|
|
|
|
|
[dependencies]
|
|
egui = { path = "../egui", default-features = false }
|
|
egui_extras = { path = "../egui_extras" }
|
|
egui_plot = { path = "../egui_plot" }
|
|
log = { version = "0.4", features = ["std"] }
|
|
unicode_names2 = { version = "0.6.0", default-features = false } # this old version has fewer dependencies
|
|
|
|
#! ### Optional dependencies
|
|
chrono = { version = "0.4", optional = true, features = ["js-sys", "wasmbind"] }
|
|
## Enable this when generating docs.
|
|
document-features = { version = "0.2", optional = true }
|
|
serde = { version = "1", optional = true, features = ["derive"] }
|
|
|
|
|
|
[dev-dependencies]
|
|
criterion.workspace = true
|
|
|
|
|
|
[[bench]]
|
|
name = "benchmark"
|
|
harness = false
|