[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
rustdoc-args = ["--generate-link-to-definition"]
[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"]
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
profiling.workspace = true
accesskit = { version = "0.17.0", optional = true }
backtrace = { workspace = true, optional = true }
document-features = { workspace = true, optional = true }
log = { workspace = true, optional = true }
ron = { workspace = true, optional = true }
serde = { workspace = true, optional = true, features = ["derive", "rc"] }