fastpack-core 0.21.0

Core packing algorithms and data types for FastPack
Documentation
# 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 = "fastpack-core"
version = "0.21.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core packing algorithms and data types for FastPack"
homepage = "https://github.com/Hexeption/FastPack"
readme = false
keywords = [
    "texture-atlas",
    "sprite-packer",
    "atlas",
    "packing",
    "game",
]
categories = [
    "game-development",
    "multimedia::images",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/Hexeption/FastPack"
resolver = "2"

[package.metadata.docs.rs]
no-default-features = true

[features]
default = [
    "svg",
    "psd",
]
psd = ["dep:psd"]
svg = ["dep:resvg"]

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

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

[[bench]]
name = "packing"
path = "benches/packing.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.geo]
version = "0.26"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "bmp",
    "tga",
    "webp",
    "tiff",
]
default-features = false

[dependencies.psd]
version = "0.3"
optional = true

[dependencies.rayon]
version = "1"

[dependencies.resvg]
version = "0.43"
optional = true

[dependencies.rustc-hash]
version = "2"

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

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "bmp",
    "tga",
    "webp",
    "tiff",
]
default-features = false

[dev-dependencies.tempfile]
version = "3"