smart-package-tracker 0.2.0

Generate package tracking IDs and render them as Code 128 barcodes (PNG and SVG)
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 = "2021"
rust-version = "1.85"
name = "smart-package-tracker"
version = "0.2.0"
build = false
exclude = [
    "/.github",
    "/target",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate package tracking IDs and render them as Code 128 barcodes (PNG and SVG)"
documentation = "https://docs.rs/smart-package-tracker"
readme = "README.md"
keywords = [
    "barcode",
    "code128",
    "tracking",
    "shipping",
    "logistics",
]
categories = [
    "encoding",
    "multimedia::images",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ferris007/smart-package-tracker"
resolver = "3"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
code128 = ["dep:code128"]
default = [
    "std",
    "os-rng",
    "code128",
    "qr",
    "png",
    "svg",
]
os-rng = ["dep:getrandom"]
png = [
    "dep:png",
    "std",
]
qr = [
    "dep:qrcode",
    "std",
]
serde = ["dep:serde"]
std = [
    "thiserror/std",
    "code128?/std",
    "serde?/std",
]
svg = []

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

[[example]]
name = "label"
path = "examples/label.rs"
required-features = [
    "std",
    "os-rng",
    "code128",
    "qr",
    "png",
    "svg",
]

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

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

[dependencies.code128]
version = "0.2.1"
optional = true
default-features = false

[dependencies.getrandom]
version = "0.4"
optional = true
default-features = false

[dependencies.png]
version = "0.18"
optional = true

[dependencies.qrcode]
version = "0.14"
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0"
default-features = false

[dev-dependencies.png]
version = "0.18"

[dev-dependencies.rqrr]
version = "0.10"
default-features = false

[profile.release]
lto = true