# 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 = "2021"
name = "labelize"
version = "1.2.0"
build = false
exclude = [
    "testdata/",
    "docs/",
    "examples/",
    "e2e/",
    ".github/",
    ".qoder/",
    ".kiro/",
    ".idea/",
    ".claude/",
    ".remember/",
    "AGENTS.md",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast ZPL & EPL label parser and renderer — convert label data to PNG/PDF. Open-source Labelary alternative."
homepage = "https://github.com/GOODBOY008/labelize"
readme = "README.md"
keywords = [
    "zpl",
    "epl",
    "label",
    "barcode",
    "thermal-printer",
]
categories = [
    "graphics",
    "parsing",
]
license = "MIT"
repository = "https://github.com/GOODBOY008/labelize"

[features]
cli = ["dep:clap"]
default = []
serve = [
    "cli",
    "dep:axum",
    "dep:tokio",
    "dep:serde",
]
skill = []

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

[[bin]]
name = "labelize"
path = "src/main.rs"
required-features = ["cli"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.ab_glyph]
version = "0.2"

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.datamatrix]
version = "0.3"

[dependencies.flate2]
version = "1"

[dependencies.image]
version = "0.25"

[dependencies.imageproc]
version = "0.26"

[dependencies.lopdf]
version = "0.40"

[dependencies.qrcode]
version = "0.14"

[dependencies.rxing]
version = "0.8"
features = ["encoding_rs"]
default-features = false

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.reqwest]
version = "0.13"
features = ["blocking"]

[dev-dependencies.sha2]
version = "0.10"
