# 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 = "gsfnt"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pack a folder of images into BMFont (.fnt) and a merged PNG atlas"
readme = "README.md"
keywords = [
    "bmfont",
    "bitmap-font",
    "atlas",
    "sprite",
    "fnt",
]
categories = [
    "command-line-utilities",
    "multimedia::images",
]
license = "MIT"

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

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "webp",
    "gif",
    "bmp",
]
default-features = true

[dependencies.thiserror]
version = "2"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
debug = 0
panic = "abort"
incremental = false
strip = true
