-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
74 lines (68 loc) · 1.91 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
# SPDX-FileCopyrightText: 2022 Shun Sakai
#
# SPDX-License-Identifier: Apache-2.0 OR MIT
[package]
name = "qrtool"
version = "0.10.10"
authors = ["Shun Sakai <sorairolake@protonmail.ch>"]
edition = "2021"
rust-version = "1.74.0"
description = "An utility for encoding or decoding QR code"
readme = "README.md"
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"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.86"
clap = { version = "4.5.4", features = ["derive", "wrap_help"] }
clap_complete = "4.5.2"
clap_complete_nushell = "4.5.1"
csscolorparser = "0.6.2"
image = { version = "0.25.1", default-features = false, features = ["png", "rayon"] }
qrcode = "0.14.0"
resvg = { version = "0.42.0", default-features = false, optional = true }
rqrr = "0.7.1"
sysexits = "0.7.14"
[dev-dependencies]
assert_cmd = "2.0.14"
predicates = "3.1.0"
[features]
default = [
"decode-from-bmp",
"decode-from-dds",
"decode-from-ff",
"decode-from-gif",
"decode-from-hdr",
"decode-from-ico",
"decode-from-jpeg",
"decode-from-exr",
"decode-from-pnm",
"decode-from-qoi",
"decode-from-tga",
"decode-from-tiff",
"decode-from-webp",
"decode-from-svg",
]
decode-from-bmp = ["image/bmp"]
decode-from-dds = ["image/dds"]
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-exr = ["image/exr"]
decode-from-pnm = ["image/pnm"]
decode-from-qoi = ["image/qoi"]
decode-from-tga = ["image/tga"]
decode-from-tiff = ["image/tiff"]
decode-from-webp = ["image/webp"]
decode-from-svg = ["dep:resvg"]
[profile.release]
codegen-units = 1
lto = true
panic = "abort"
strip = true