forked from rxing-core/rxing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
65 lines (54 loc) · 1.82 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
[package]
name = "rxing"
version = "0.3.1"
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.0"
fancy-regex = "0.10"
once_cell = "1.17.0"
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 = "0.3"
#rxing-one-d-proc-derive = {path ="../rxing-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"]