-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
136 lines (113 loc) · 3.74 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[package]
name = "pxsum"
version = "0.1.1"
license = "WTFPL"
authors = ["Josh Stoik <[email protected]>"]
edition = "2021"
description = "Calculate and verify checksums for decoded image pixel data."
readme = "README.md"
publish = false
[package.metadata.deb]
maintainer = "Josh Stoik <[email protected]>"
copyright = "2024, Blobfolio, LLC <[email protected]>"
license-file = ["./LICENSE", "0"]
extended-description = ""
revision = "1"
depends = "$auto"
section = "graphics"
assets = [
["./target/release/pxsum", "usr/bin/", "755"],
["./release/completions/pxsum.bash", "etc/bash_completion.d/", "644"],
["./release/man/pxsum.1.gz", "usr/share/man/man1/", "644"],
]
[package.metadata.bashman]
name = "pxsum"
bash-dir = "./release/completions"
man-dir = "./release/man"
credits-dir = "./"
[[package.metadata.bashman.switches]]
long = "--bench"
description = "Print the total execution time before exiting."
[[package.metadata.bashman.switches]]
short = "-c"
long = "--check"
description = "Read existing pxsum/path pairs from FILE(S) and check if they still ring true. This takes priority over crunch-specific options, like -d/--dir."
[[package.metadata.bashman.switches]]
short = "-g"
long = "--group-by-checksum"
description = "Crunch as usual, but group the results by checksum. Note this will delay output until the end of the run."
[[package.metadata.bashman.switches]]
short = "-h"
long = "--help"
description = "Print help information and exit."
[[package.metadata.bashman.switches]]
long = "--no-warnings"
description = "Suppress warnings related to image decoding when crunching anew, and malformed check manifest lines when -c/--check."
[[package.metadata.bashman.switches]]
long = "--only-dupes"
description = "Same as -g/--group-by-checksum, but only checksums with two or more matching images will be printed."
[[package.metadata.bashman.switches]]
short = "-q"
long = "--quiet"
description = "Suppress OK messages in -c/--check mode."
[[package.metadata.bashman.switches]]
long = "--strict"
description = "Include color data from invisible pixels in checksum calculations."
[[package.metadata.bashman.switches]]
short = "-V"
long = "--version"
description = "Print version information and exit."
[[package.metadata.bashman.options]]
short = "-d"
long = "--dir"
label = "<DIR>"
description = "Recursively search <DIR> for image files and pxsum them (along with any other FILE(S)). Has no effect when -c/--check."
path = true
duplicate = true
[[package.metadata.bashman.options]]
short = "-j"
label = "<NUM>"
description = "Limit parallelization to this many threads (instead of giving each logical core its own image to work on). If negative, the value will be subtracted from the total number of logical cores."
path = false
[[package.metadata.bashman.arguments]]
label = "<PATH(s)…>"
description = "One or more image and/or directory paths."
[dependencies]
argyle = "0.10.*"
blake3 = "=1.5.4"
crossbeam-channel = "=0.5.*"
dactyl = "0.7.*"
fyi_msg = "1.1.*"
trimothy = "0.3.*"
walkdir = "=2.5.*"
[dependencies.faster-hex]
version = "0.10.*"
default-features = false
features = [ "std" ]
[dependencies.image]
version = "0.25.*"
default-features = false
features = [ "bmp", "gif", "ico", "jpeg", "png", "tiff", "webp" ]
[dependencies.jpeg2k]
version = "=0.9.1"
default-features = false
features = [ "image", "openjpeg-sys"]
[dependencies.jpegxl-rs]
version = "=0.11.1"
default-features = false
features = [ "image", "vendored" ]
[dependencies.libavif]
version = "=0.14.0"
default-features = false
features = [ "codec-dav1d" ]
[build-dependencies]
argyle = "0.10.*"
dactyl = "0.7.*"
[build-dependencies.image]
version = "0.25.*"
default-features = false
features = [ "bmp", "gif", "ico", "jpeg", "png", "tiff", "webp" ]
[profile.release]
lto = true
codegen-units = 1
strip = true