-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathCargo.toml
82 lines (68 loc) · 2.04 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[package]
name = "rxing"
version = "0.4.5"
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.8.0"
fancy-regex = "0.11"
once_cell = "1.17.1"
encoding = "0.2"
urlencoding = "2.1.2"
uriparse = "0.6.4"
chrono = "0.4.24"
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.5", path ="./crates/one-d-proc-derive"}
num = "0.4.0"
svg = {version = "0.13", optional = true}
resvg = {version = "0.29.0", optional = true, default-features=false}
serde = { version = "1.0", features = ["derive", "rc"], optional = true }
thiserror = "1.0.38"
multimap = "0.9"
[dev-dependencies]
java-properties = "1.4.1"
java-rand = "0.2.0"
rand = "0.8.5"
criterion = "0.4.0"
[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"
]
[[bench]]
name = "benchmarks"
harness = false
[profile.release]
codegen-units = 1
lto = true
opt-level = 3