-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathCargo.toml
More file actions
105 lines (96 loc) · 2.67 KB
/
Cargo.toml
File metadata and controls
105 lines (96 loc) · 2.67 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# SPDX-FileCopyrightText: 2022 Shun Sakai
#
# SPDX-License-Identifier: Apache-2.0 OR MIT
[package]
name = "qrtool"
version = "0.13.2"
edition = "2024"
rust-version = "1.89.0"
description = "A command-line utility for encoding and decoding QR code"
homepage = "https://sorairolake.github.io/qrtool/"
repository = "https://github.com/sorairolake/qrtool"
license = "Apache-2.0 OR MIT"
keywords = ["qrcode"]
categories = ["command-line-utilities"]
include = ["/LICENSES", "/README.md", "/src"]
[dependencies]
anstyle = { version = "1.0.14", default-features = false, optional = true }
anstyle-lossy = { version = "1.1.5", optional = true }
anstyle-yansi = { version = "2.0.4", optional = true }
anyhow = "1.0.102"
clap = { version = "4.6.1", features = ["derive", "wrap_help"] }
clap_complete = "4.6.2"
clap_complete_nushell = "4.6.0"
csscolorparser = "0.8.3"
is-svg = { version = "0.2.2", optional = true }
qrcode2 = "0.18.0"
resvg = { version = "0.47.0", default-features = false, optional = true }
rqrr = "0.10.1"
sysexits = "0.13.0"
yansi = { version = "1.0.1", default-features = false, optional = true }
[dependencies.image]
version = "0.25.10"
default-features = false
features = ["png", "rayon"]
[dependencies.oxipng]
version = "10.1.0"
default-features = false
features = ["parallel", "zopfli"]
optional = true
[dev-dependencies]
assert_cmd = "2.2.0"
predicates = "3.1.4"
[features]
default = [
"decode-from-bmp",
"decode-from-dds",
"decode-from-exr",
"decode-from-ff",
"decode-from-gif",
"decode-from-hdr",
"decode-from-ico",
"decode-from-jpeg",
"decode-from-pnm",
"decode-from-qoi",
"decode-from-svg",
"decode-from-tga",
"decode-from-tiff",
"decode-from-webp",
"optimize-output-png",
"output-as-ansi",
]
decode-from-bmp = ["image/bmp"]
decode-from-dds = ["image/dds"]
decode-from-exr = ["image/exr"]
decode-from-ff = ["image/ff"]
decode-from-gif = ["image/gif"]
decode-from-hdr = ["image/hdr"]
decode-from-ico = ["image/ico"]
decode-from-jpeg = ["image/jpeg"]
decode-from-pnm = ["image/pnm"]
decode-from-qoi = ["image/qoi"]
decode-from-svg = ["dep:is-svg", "dep:resvg"]
decode-from-tga = ["image/tga"]
decode-from-tiff = ["image/tiff"]
decode-from-webp = ["image/webp"]
optimize-output-png = ["dep:oxipng"]
output-as-ansi = [
"dep:anstyle",
"dep:anstyle-lossy",
"dep:anstyle-yansi",
"dep:yansi",
]
[lints.clippy]
cargo = { level = "warn", priority = -1 }
multiple_crate_versions = "allow"
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
[lints.rust]
missing_debug_implementations = "deny"
rust_2018_idioms = { level = "warn", priority = -1 }
unsafe_code = "forbid"
[profile.release]
strip = true
lto = true
panic = "abort"
codegen-units = 1