mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
70 lines
1.9 KiB
TOML
70 lines
1.9 KiB
TOML
[package]
|
|
name = "rxing"
|
|
version = "0.3.2"
|
|
description="A rust port of the zxing barcode library."
|
|
license="Apache-2.0"
|
|
repository="https://github.com/rxing-core/rxing"
|
|
keywords = ["barcode", "2d_barcode", "1d_barcode", "barcode_reader", "barcode_writer"]
|
|
edition = "2021"
|
|
exclude = [
|
|
"test_resources/*",
|
|
]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
regex = "1.7.1"
|
|
fancy-regex = "0.11"
|
|
once_cell = "1.17.1"
|
|
encoding = "0.2"
|
|
urlencoding = "2.1.2"
|
|
uriparse = "0.6.4"
|
|
chrono = "0.4.23"
|
|
chrono-tz = "0.8"
|
|
image = {version = "0.24", optional = true}
|
|
imageproc = {version = "0.23", optional = true}
|
|
unicode-segmentation = "1.10"
|
|
codepage-437 = "0.1.0"
|
|
rxing-one-d-proc-derive = {version = "0.3", path ="./crates/one-d-proc-derive"}
|
|
num = "0.4.0"
|
|
svg = {version = "0.13", optional = true}
|
|
resvg = {version = "0.28.0", optional = true, default-features=false}
|
|
serde = { version = "1.0", features = ["derive", "rc"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
java-properties = "1.4.1"
|
|
java-rand = "0.2.0"
|
|
rand = "0.8.5"
|
|
|
|
[features]
|
|
default = ["image"]
|
|
#/// Enable features required for image manipulation and reading.
|
|
image = ["dep:image", "dep:imageproc"]
|
|
|
|
#/// Allows the ability to force ISO/IED 18004 compliance.
|
|
#/// Leave disabled unless specificially needed.
|
|
allow_forced_iso_ied_18004_compliance = []
|
|
|
|
#/// Enable support for writing SVG files
|
|
svg_write = ["dep:svg"]
|
|
|
|
#/// Enable support for reading SVG files
|
|
svg_read = ["dep:resvg", "image"]
|
|
|
|
#/// Enable support building this module in WASM
|
|
wasm_support = ["chrono/wasmbind"]
|
|
|
|
#/// Enable experimental features, risky.
|
|
experimental_features = []
|
|
|
|
#/// Adds support for serde Serialize and Deserialize for outward facing structs
|
|
serde = ["dep:serde"]
|
|
|
|
#/// Adds otsu binarizer support using imageproc
|
|
otsu_level = ["image"]
|
|
|
|
[workspace]
|
|
members = [
|
|
"crates/one-d-proc-derive",
|
|
"crates/cli"
|
|
] |