2022-02-21 14:26:26 +00:00
|
|
|
[package]
|
|
|
|
name = "egui_extras"
|
2022-02-22 18:32:30 +00:00
|
|
|
version = "0.17.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"
|
|
|
|
rust-version = "1.56"
|
|
|
|
homepage = "https://github.com/emilk/egui"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
readme = "../README.md"
|
|
|
|
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 = []
|
|
|
|
|
|
|
|
# Support loading svg images
|
|
|
|
svg = ["resvg", "tiny-skia", "usvg"]
|
|
|
|
|
2022-03-31 19:13:25 +00:00
|
|
|
# Datepicker widget
|
|
|
|
datepicker = ["chrono"]
|
|
|
|
|
|
|
|
# Persistence
|
|
|
|
persistence = ["serde"]
|
2022-02-21 14:26:26 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-03-21 21:20:37 +00:00
|
|
|
egui = { version = "0.17.0", path = "../egui", default-features = false }
|
2022-02-21 14:26:26 +00:00
|
|
|
|
|
|
|
# Optional dependencies:
|
|
|
|
|
2022-03-31 19:13:25 +00:00
|
|
|
# Date operations needed for datepicker widget
|
|
|
|
chrono = { version = "0.4", optional = true }
|
|
|
|
|
2022-02-21 14:26:26 +00:00
|
|
|
# Add support for loading images with the `image` crate.
|
|
|
|
# You also need to ALSO opt-in to the image formats you want to support, like so:
|
|
|
|
# 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
|
|
|
|
resvg = { version = "0.22", optional = true }
|
|
|
|
tiny-skia = { version = "0.6", optional = true }
|
|
|
|
usvg = { version = "0.22", optional = true }
|
2022-03-31 19:13:25 +00:00
|
|
|
|
|
|
|
# feature "persistence":
|
|
|
|
serde = { version = "1", features = ["derive"], optional = true }
|