# 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.85"
name = "glyphana"
version = "0.2.1"
authors = ["Moritz Moeller <virtualritz@gmail.com>"]
build = false
exclude = [
    ".github/**/*",
    "wix/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Quickly find, inspect & collect unicode glyps"
documentation = "https://docs.rs/glyphana/"
readme = "README.md"
license = "(MIT OR Apache-2.0 OR BSD-3-Clause) AND OFL-1.1"
repository = "https://github.com/virtualritz/glyphana/"

[features]
accesskit = ["eframe/accesskit"]
default = []
wgpu = ["eframe/wgpu"]

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

[[bin]]
name = "glyphana"
path = "src/main.rs"

[dependencies.ahash]
version = "0.8"

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

[dependencies.egui]
version = "0.32"

[dependencies.egui_dnd]
version = "0.13"

[dependencies.finl_unicode]
version = "1.3"

[dependencies.glyph-names]
version = "0.2"

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

[dependencies.include-flate]
version = "0.3"

[dependencies.rusttype]
version = "0.9"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.stringzilla]
version = "3"

[dependencies.textwrap]
version = "0.16"

[dependencies.unicode-blocks]
version = "0.1"

[dependencies.unicode-case-mapping]
version = "1"

[dependencies.unicode-normalization]
version = "0.1"

[dependencies.unicode_names2]
version = "2.0"

[dependencies.unicode_skeleton]
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing-subscriber]
version = "0.3"

[profile.dev.package."*"]
opt-level = 2

[profile.dist]
inherits = "release"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
