[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"]
[lints]
workspace = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
[lib]
[features]
default = ["dep:mime_guess2"]
all_loaders = ["file", "http", "image", "svg", "gif"]
datepicker = ["chrono"]
file = ["dep:mime_guess2"]
gif = ["image", "image/gif"]
http = ["dep:ehttp"]
image = ["dep:image"]
puffin = ["dep:puffin", "egui/puffin"]
serde = ["egui/serde", "dep:serde"]
svg = ["resvg"]
syntect = ["dep:syntect"]
[dependencies]
egui = { workspace = true, default-features = false }
ahash.workspace = true
enum-map = { version = "2", features = ["serde"] }
log.workspace = true
serde = { workspace = true, optional = true }
chrono = { version = "0.4", optional = true, default-features = false, features = [
"clock",
"js-sys",
"std",
"wasmbind",
] }
document-features = { workspace = true, optional = true }
image = { workspace = true, optional = true }
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 }