[package]
edition = "2024"
rust-version = "1.85"
name = "rxing"
version = "0.8.5"
build = false
exclude = ["test_resources/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A rust port of the zxing barcode library."
readme = "README.md"
keywords = [
"barcode",
"barcode_2d",
"barcode_1d",
"barcode_reader",
"barcode_writer",
]
license = "Apache-2.0"
repository = "https://github.com/rxing-core/rxing"
[features]
allow_forced_iso_ied_18004_compliance = []
client_support = []
default = [
"image",
"client_support",
"image_formats",
"serde",
"encoding_rs",
]
encoding_rs = ["dep:encoding_rs"]
experimental_features = []
image = [
"dep:image",
"dep:imageproc",
]
image_formats = [
"image",
"image/gif",
"image/jpeg",
"image/ico",
"image/png",
"image/pnm",
"image/tga",
"image/tiff",
"image/webp",
"image/bmp",
"image/hdr",
"image/dds",
"image/qoi",
"image/avif",
"image/exr",
"image/ff",
]
legacy_encoding = ["dep:encoding"]
otsu_level = ["image"]
reverse_pyramid_layers = []
serde = ["dep:serde"]
svg_read = [
"dep:resvg",
"image",
]
svg_write = ["dep:svg"]
wasm_support = ["chrono/wasmbind"]
[lib]
name = "rxing"
path = "src/lib.rs"
[[test]]
name = "aztec_blackbox_tests"
path = "tests/aztec_blackbox_tests.rs"
[[test]]
name = "codabar_blackbox_1_test_case"
path = "tests/codabar_blackbox_1_test_case.rs"
[[test]]
name = "code_128_blackbox"
path = "tests/code_128_blackbox.rs"
[[test]]
name = "code_39_blackbox_reader"
path = "tests/code_39_blackbox_reader.rs"
[[test]]
name = "code_93_blackbox_1_testcase"
path = "tests/code_93_blackbox_1_testcase.rs"
[[test]]
name = "cpp_qr_code_blackbox_tests"
path = "tests/cpp_qr_code_blackbox_tests.rs"
[[test]]
name = "cropped_transposed_luma"
path = "tests/cropped_transposed_luma.rs"
[[test]]
name = "datamatrix_black_box_test_cases"
path = "tests/datamatrix_black_box_test_cases.rs"
[[test]]
name = "dx_film_edge"
path = "tests/dx_film_edge.rs"
[[test]]
name = "ean_13_blackbox_tests"
path = "tests/ean_13_blackbox_tests.rs"
[[test]]
name = "ean_8_black_box_1_testcase"
path = "tests/ean_8_black_box_1_testcase.rs"
[[test]]
name = "github_issues"
path = "tests/github_issues.rs"
[[test]]
name = "inverted_data_matrix_black_box_testcase"
path = "tests/inverted_data_matrix_black_box_testcase.rs"
[[test]]
name = "itf_blackbox"
path = "tests/itf_blackbox.rs"
[[test]]
name = "maxicode_blackbox_tests"
path = "tests/maxicode_blackbox_tests.rs"
[[test]]
name = "pdf_417_black_box_4_testcase"
path = "tests/pdf_417_black_box_4_testcase.rs"
[[test]]
name = "pdf_417_blackbox_tests"
path = "tests/pdf_417_blackbox_tests.rs"
[[test]]
name = "qr_code_blackbox_tests"
path = "tests/qr_code_blackbox_tests.rs"
[[test]]
name = "rss_14_blackbox"
path = "tests/rss_14_blackbox.rs"
[[test]]
name = "rss_expanded_blackbox"
path = "tests/rss_expanded_blackbox.rs"
[[test]]
name = "telepen_blackbox_1_test_case"
path = "tests/telepen_blackbox_1_test_case.rs"
[[test]]
name = "upc_a_blackbox_tests"
path = "tests/upc_a_blackbox_tests.rs"
[[test]]
name = "upc_e_blackbox_tests"
path = "tests/upc_e_blackbox_tests.rs"
[[test]]
name = "upc_ean_extension_black_box_1_testcase"
path = "tests/upc_ean_extension_black_box_1_testcase.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"std",
"oldtime",
]
default-features = false
[dependencies.chrono-tz]
version = "0.10"
[dependencies.codepage-437]
version = "0.1"
[dependencies.encoding]
version = "0.2"
optional = true
[dependencies.encoding_rs]
version = "0.8"
optional = true
[dependencies.fancy-regex]
version = "0.17"
[dependencies.image]
version = "=0.25.8"
optional = true
default-features = false
[dependencies.imageproc]
version = "0.25"
optional = true
[dependencies.multimap]
version = "0.10"
[dependencies.num]
version = "0.4"
[dependencies.once_cell]
version = "1.21"
[dependencies.regex]
version = "1.12"
[dependencies.resvg]
version = "0.45"
optional = true
default-features = false
[dependencies.rxing-one-d-proc-derive]
version = "0.8"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
optional = true
[dependencies.svg]
version = "0.18"
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.unicode-segmentation]
version = "1.12"
[dependencies.uriparse]
version = "0.6"
[dependencies.urlencoding]
version = "2.1"
[dev-dependencies.criterion]
version = "0.7"
[dev-dependencies.java-properties]
version = "2.0"
[dev-dependencies.java-rand]
version = "0.2"
[dev-dependencies.rand]
version = "0.10"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1