[package]
name = "egui_extras"
version.workspace = true
authors = [
"Dominik Rössler <dominik@freshx.de>",
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
"René Rössler <rene@freshx.de>",
]
description = "Extra functionality and widgets for the egui GUI library"
edition.workspace = true
rust-version.workspace = true
homepage = "https://github.com/emilk/egui"
license.workspace = true
readme = "README.md"
repository = "https://github.com/emilk/egui"
categories = ["gui", "game-development"]
keywords = ["gui", "imgui", "immediate", "portable", "gamedev"]
include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
[package.metadata.docs.rs]
all-features = true
[lib]
[features]
default = ["dep:mime_guess2"]
all_loaders = ["file", "http", "image", "svg"]
datepicker = ["chrono"]
file = ["dep:mime_guess2"]
http = ["dep:ehttp"]
image = ["dep:image"]
puffin = ["dep:puffin", "egui/puffin"]
svg = ["resvg"]
syntect = ["dep:syntect"]
[dependencies]
egui = { workspace = true, default-features = false, features = ["serde"] }
enum-map = { version = "2", features = ["serde"] }
log.workspace = true
serde = { version = "1", features = ["derive"] }
chrono = { version = "0.4", optional = true, default-features = false, features = [
"clock",
"js-sys",
"std",
"wasmbind",
] }
document-features = { workspace = true, optional = true }
image = { version = "0.24", optional = true, default-features = false }
mime_guess2 = { version = "2", optional = true, default-features = false }
puffin = { workspace = true, optional = true }
syntect = { version = "5", optional = true, default-features = false, features = [
"default-fancy",
] }
resvg = { version = "0.37", optional = true, default-features = false }
ehttp = { version = "0.5", optional = true, default-features = false }