zpl-forge 0.3.0

A fast, memory-safe ZPL (Zebra Programming Language) parser and renderer.
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"
name = "zpl-forge"
version = "0.3.0"
authors = ["Rafael Arreola <rafael-arreola@outlook.com>"]
build = false
exclude = [
    "examples/*",
    "tests/*",
    "docs/*",
    ".github/*",
    "*.png",
    "*.pdf",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast, memory-safe ZPL (Zebra Programming Language) parser and renderer."
homepage = "https://github.com/rafael-arreola/zpl-forge"
documentation = "https://docs.rs/zpl-forge"
readme = "README.md"
keywords = [
    "zpl",
    "zebra",
    "barcode",
    "parser",
    "graphics",
]
categories = [
    "parsing",
    "rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rafael-arreola/zpl-forge"

[features]
default = [
    "png",
    "pdf",
]
pdf = [
    "dep:lopdf",
    "dep:flate2",
    "dep:image",
    "dep:rxing",
    "dep:base64",
]
png = [
    "dep:image",
    "dep:imageproc",
    "dep:rxing",
    "dep:base64",
]
tracing = ["dep:tracing"]

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

[dependencies.ab_glyph]
version = "0.2.32"

[dependencies.base64]
version = "0.22.1"
optional = true

[dependencies.flate2]
version = "1.1"
optional = true

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

[dependencies.imageproc]
version = "0.26.1"
features = [
    "text",
    "rayon",
]
optional = true
default-features = false

[dependencies.lopdf]
version = "0.40"
optional = true
default-features = false

[dependencies.nom]
version = "8.0"

[dependencies.rxing]
version = "0.8.5"
features = ["encoding_rs"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"
optional = true

[profile.dev]
opt-level = 3
debug = 2
incremental = true

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