tex-packer-core 0.1.0

Core algorithms and API for packing images into texture atlases (Skyline / MaxRects / Guillotine). Returns pages (RGBA) and metadata (JSON/Plist/templates).
Documentation
[badges.maintenance]
status = "actively-developed"

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

[dependencies.rayon]
optional = true
version = "1.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.rand]
version = "0.8"

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

[features]
default = ["image"]
image = []
parallel = ["rayon"]

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

[package]
authors = ["Latias94"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "multimedia::images", "graphics"]
description = "Core algorithms and API for packing images into texture atlases (Skyline / MaxRects / Guillotine). Returns pages (RGBA) and metadata (JSON/Plist/templates)."
documentation = "https://docs.rs/tex-packer-core"
edition = "2024"
exclude = ["Cargo.toml.orig", "tests/*", "benches/*", "target/*"]
homepage = "https://github.com/Latias94/tex-packer"
keywords = ["texture", "atlas", "packer", "sprites", "bin-packing"]
license = "MIT OR Apache-2.0"
name = "tex-packer-core"
readme = "README.md"
repository = "https://github.com/Latias94/tex-packer"
resolver = "2"
version = "0.1.0"