# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "egui-desktop"
version = "0.2.3"
build = false
exclude = [
    "target/*",
    "**/target/*",
    "**/.github/*",
    "**/.vscode/*",
    "**/.idea/*",
    "**/node_modules/*",
    "**/bin/*",
    "**/sea-package/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform GUI for egui applications"
homepage = "https://github.com/PxlSyl/egui-desktop"
documentation = "https://docs.rs/egui-desktop"
readme = "README.md"
keywords = [
    "egui",
    "desktop",
    "gui",
    "widgets",
    "ui",
]
categories = [
    "gui",
    "graphics",
]
license = "MIT"
repository = "https://github.com/PxlSyl/egui-desktop"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "-Dwarnings",
    "-Wmissing-docs",
    "-Wrustdoc::broken_intra_doc_links",
    "-Wrustdoc::private_intra_doc_links",
]

[badges.maintenance]
status = "actively-developed"

[lib]
name = "egui_desktop"
path = "src/lib.rs"

[[example]]
name = "basic_app"
path = "examples/basic_app.rs"

[[example]]
name = "custom_title_bar"
path = "examples/custom_title_bar.rs"

[[example]]
name = "multi_platform"
path = "examples/multi_platform.rs"

[[example]]
name = "multi_window"
path = "examples/multi_window.rs"

[[example]]
name = "no_title_app"
path = "examples/no_title_app.rs"

[dependencies.eframe]
version = "0.33.3"

[dependencies.egui]
version = "0.33.3"

[dependencies.egui_extras]
version = "0.33.3"
features = ["all_loaders"]

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.raw-window-handle]
version = "0.6"

[dev-dependencies]

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.3"

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Dwm",
    "Win32_UI_WindowsAndMessaging",
]

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 16
