zedbar 0.2.0

Pure Rust barcode and QR code scanning library supporting multiple formats
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 = "zedbar"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust barcode and QR code scanning library supporting multiple formats"
readme = "README.md"
keywords = [
    "barcode",
    "qr-code",
    "scanner",
    "image",
    "computer-vision",
]
categories = [
    "computer-vision",
    "multimedia::images",
]
license = "LGPL-3.0-or-later"
repository = "https://github.com/eventualbuddha/zedbar"

[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[features]
bench_rxing = ["dep:rxing"]
bench_zbar_c = ["dep:zbar-rust"]
clap = ["dep:clap"]
codabar = []
code128 = []
code39 = []
code93 = []
databar = []
default = [
    "qrcode",
    "sqcode",
    "ean",
    "code128",
    "code39",
    "code93",
    "codabar",
    "databar",
    "i25",
    "image",
    "clap",
]
ean = []
i25 = []
image = ["dep:image"]
qrcode = [
    "dep:encoding_rs",
    "dep:reed-solomon",
    "dep:rand",
    "dep:rand_chacha",
]
sqcode = []
wasm = [
    "dep:wasm-bindgen",
    "dep:js-sys",
    "dep:getrandom",
    "dep:image",
    "qrcode",
    "ean",
    "code128",
    "code39",
    "code93",
    "codabar",
    "databar",
    "i25",
    "sqcode",
]

[lib]
name = "zedbar"
crate-type = [
    "lib",
    "cdylib",
    "staticlib",
]
path = "src/lib.rs"

[[bin]]
name = "zedbarimg"
path = "src/bin/zedbarimg.rs"
required-features = [
    "image",
    "clap",
]

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

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

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

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

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

[dependencies.encoding_rs]
version = "0.8.33"
optional = true

[dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]
optional = true

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

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.rand_chacha]
version = "0.9"
optional = true

[dependencies.reed-solomon]
version = "0.2.1"
optional = true

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

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.zbar-rust]
version = "0.0.24"
optional = true

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

[dev-dependencies.encoding_rs]
version = "0.8.33"

[dev-dependencies.image]
version = "0.25"

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

[dev-dependencies.qrcode]
version = "0.14"

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

[dev-dependencies.rand_chacha]
version = "0.9"

[dev-dependencies.reed-solomon]
version = "0.2.1"

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