# 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"
rust-version = "1.92"
name = "egui-elegance"
version = "0.10.1"
authors = ["Stephen Berry"]
build = false
exclude = [
    ".cargo/",
    ".github/",
    ".gitignore",
    "CONTRIBUTING.md",
    "dev/",
    "docs/images/",
    "mockups/",
    "tests/snapshots/",
    "tests/visual.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Elegant, opinionated widgets for egui: buttons, inputs, selects, cards, tabs and more. Paired dark/light themes."
readme = "README.md"
keywords = [
    "egui",
    "gui",
    "ui",
    "theme",
    "widgets",
]
categories = ["gui"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/stephenberry/egui-elegance"

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

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

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

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

[[test]]
name = "a11y"
path = "tests/a11y.rs"

[dependencies.egui]
version = "0.34"

[dev-dependencies.eframe]
version = "0.34"
features = [
    "default_fonts",
    "glow",
    "wayland",
    "x11",
]
default-features = false

[dev-dependencies.egui_kittest]
version = "0.34"
features = [
    "wgpu",
    "snapshot",
]

[dev-dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[target.'cfg(target_family = "wasm")'.dependencies.js-sys]
version = "0.3"

[lints.rust]
warnings = "deny"
