2022-02-21 14:26:26 +00:00
|
|
|
[package]
|
|
|
|
name = "egui_extras"
|
2023-02-08 19:11:21 +00:00
|
|
|
version = "0.21.0"
|
2022-03-31 19:13:25 +00:00
|
|
|
authors = [
|
|
|
|
"Dominik Rössler <dominik@freshx.de>",
|
|
|
|
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
|
|
|
|
"René Rössler <rene@freshx.de>",
|
|
|
|
]
|
2022-02-21 14:26:26 +00:00
|
|
|
description = "Extra functionality and widgets for the egui GUI library"
|
|
|
|
edition = "2021"
|
2022-11-16 18:08:03 +00:00
|
|
|
rust-version = "1.65"
|
2022-02-21 14:26:26 +00:00
|
|
|
homepage = "https://github.com/emilk/egui"
|
|
|
|
license = "MIT OR Apache-2.0"
|
2022-08-20 14:44:05 +00:00
|
|
|
readme = "README.md"
|
2022-02-21 14:26:26 +00:00
|
|
|
repository = "https://github.com/emilk/egui"
|
|
|
|
categories = ["gui", "game-development"]
|
|
|
|
keywords = ["gui", "imgui", "immediate", "portable", "gamedev"]
|
2022-03-10 13:25:33 +00:00
|
|
|
include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
|
2022-02-21 14:26:26 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
|
2022-06-09 13:27:22 +00:00
|
|
|
## Enable [`DatePickerButton`] widget.
|
2022-03-31 19:13:25 +00:00
|
|
|
datepicker = ["chrono"]
|
|
|
|
|
2022-06-09 13:27:22 +00:00
|
|
|
## Support loading svg images.
|
2022-04-28 09:23:34 +00:00
|
|
|
svg = ["resvg", "tiny-skia", "usvg"]
|
2022-02-21 14:26:26 +00:00
|
|
|
|
2022-06-09 13:27:22 +00:00
|
|
|
## Log warnings using `tracing` crate.
|
2022-04-11 07:54:44 +00:00
|
|
|
tracing = ["dep:tracing", "egui/tracing"]
|
|
|
|
|
|
|
|
|
2022-02-21 14:26:26 +00:00
|
|
|
[dependencies]
|
2023-02-08 19:11:21 +00:00
|
|
|
egui = { version = "0.21.0", path = "../egui", default-features = false }
|
2022-02-21 14:26:26 +00:00
|
|
|
|
2022-11-30 18:56:06 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
|
2022-06-09 13:27:22 +00:00
|
|
|
#! ### Optional dependencies
|
2022-02-21 14:26:26 +00:00
|
|
|
|
2022-03-31 19:13:25 +00:00
|
|
|
# Date operations needed for datepicker widget
|
|
|
|
chrono = { version = "0.4", optional = true }
|
|
|
|
|
2022-06-09 15:41:37 +00:00
|
|
|
## Enable this when generating docs.
|
|
|
|
document-features = { version = "0.2", optional = true }
|
|
|
|
|
2022-06-09 13:27:22 +00:00
|
|
|
## Add support for loading images with the [`image`](https://docs.rs/image) crate.
|
|
|
|
##
|
|
|
|
## You also need to ALSO opt-in to the image formats you want to support, like so:
|
|
|
|
## ```toml
|
|
|
|
## image = { version = "0.24", features = ["jpeg", "png"] }
|
|
|
|
## ```
|
2022-03-21 21:20:37 +00:00
|
|
|
image = { version = "0.24", optional = true, default-features = false }
|
2022-02-21 14:26:26 +00:00
|
|
|
|
|
|
|
# svg feature
|
2023-02-04 12:00:04 +00:00
|
|
|
resvg = { version = "0.28", optional = true, default-features = false }
|
|
|
|
tiny-skia = { version = "0.8", optional = true, default-features = false } # must be updated in lock-step with resvg
|
|
|
|
usvg = { version = "0.28", optional = true, default-features = false }
|
2022-03-31 19:13:25 +00:00
|
|
|
|
2022-04-11 07:54:44 +00:00
|
|
|
# feature "tracing"
|
2022-11-16 18:08:03 +00:00
|
|
|
tracing = { version = "0.1", optional = true, default-features = false, features = [
|
|
|
|
"std",
|
|
|
|
] }
|