[package]
name = "egui"
version.workspace = true
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
description = "An easy-to-use immediate mode GUI that runs on both web and native"
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
[lib]
[features]
default = ["default_fonts"]
accesskit = ["dep:accesskit"]
bytemuck = ["epaint/bytemuck"]
callstack = ["dep:backtrace"]
cint = ["epaint/cint"]
color-hex = ["epaint/color-hex"]
deadlock_detection = ["epaint/deadlock_detection"]
default_fonts = ["epaint/default_fonts"]
log = ["dep:log", "epaint/log"]
mint = ["epaint/mint"]
persistence = ["serde", "epaint/serde", "ron"]
puffin = ["dep:puffin", "epaint/puffin"]
rayon = ["epaint/rayon"]
serde = ["dep:serde", "epaint/serde", "accesskit?/serde"]
unity = ["epaint/unity"]
[dependencies]
emath = { workspace = true, default-features = false }
epaint = { workspace = true, default-features = false }
ahash.workspace = true
nohash-hasher.workspace = true
accesskit = { version = "0.12", optional = true }
backtrace = { workspace = true, optional = true }
document-features = { workspace = true, optional = true }
log = { workspace = true, optional = true }
puffin = { workspace = true, optional = true }
ron = { workspace = true, optional = true }
serde = { workspace = true, optional = true, features = ["derive", "rc"] }