decryptune 1.1.7__tar.gz → 1.1.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- decryptune-1.1.9/Cargo.lock +692 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/Cargo.toml +4 -1
- {decryptune-1.1.7 → decryptune-1.1.9}/PKG-INFO +5 -3
- {decryptune-1.1.7 → decryptune-1.1.9}/README.md +4 -2
- {decryptune-1.1.7 → decryptune-1.1.9}/python/decryptune/__init__.py +8 -5
- decryptune-1.1.9/src/api.rs +183 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/src/boxes.rs +14 -4
- {decryptune-1.1.7 → decryptune-1.1.9}/src/defrag.rs +52 -15
- {decryptune-1.1.7 → decryptune-1.1.9}/src/error.rs +4 -2
- decryptune-1.1.9/src/jpeg/decode/idct.rs +63 -0
- decryptune-1.1.9/src/jpeg/decode/mod.rs +287 -0
- decryptune-1.1.9/src/jpeg/decode/parse.rs +130 -0
- decryptune-1.1.9/src/jpeg/decode/scan.rs +105 -0
- decryptune-1.1.9/src/jpeg/decode/upsample.rs +90 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/src/jpeg/tests.rs +16 -1
- decryptune-1.1.9/src/lib.rs +152 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/src/meta.rs +98 -24
- decryptune-1.1.9/src/polish.rs +391 -0
- decryptune-1.1.9/src/polish_tests.rs +364 -0
- decryptune-1.1.9/src/process/chunk.rs +252 -0
- decryptune-1.1.9/src/process/crypt.rs +77 -0
- decryptune-1.1.9/src/process/mod.rs +218 -0
- decryptune-1.1.9/src/process/rebuild.rs +138 -0
- decryptune-1.1.9/src/process/tables.rs +115 -0
- decryptune-1.1.9/src/props.rs +165 -0
- decryptune-1.1.9/src/tune.rs +143 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/tests/test_decryptune.py +230 -18
- decryptune-1.1.7/Cargo.lock +0 -315
- decryptune-1.1.7/src/jpeg/decode.rs +0 -640
- decryptune-1.1.7/src/lib.rs +0 -435
- decryptune-1.1.7/src/process.rs +0 -756
- {decryptune-1.1.7 → decryptune-1.1.9}/.gitattributes +0 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/.github/workflows/build.yml +0 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/.gitignore +0 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/LICENSE +0 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/pyproject.toml +0 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/src/cover.rs +0 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/src/input.rs +0 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/src/jpeg/encode.rs +0 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/src/jpeg/mod.rs +0 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/tests/fixtures/big.jpg +0 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/tests/fixtures/odd420.jpg +0 -0
- {decryptune-1.1.7 → decryptune-1.1.9}/tests/fixtures/tiny.jpg +0 -0
|
@@ -0,0 +1,692 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "aes"
|
|
7
|
+
version = "0.9.4"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "fc0fc36d7440d015b45468ba08a21e80e056ebbd014c611c6298bb7503e04bd1"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"cipher",
|
|
12
|
+
"cpubits",
|
|
13
|
+
"cpufeatures",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
[[package]]
|
|
17
|
+
name = "autocfg"
|
|
18
|
+
version = "1.5.1"
|
|
19
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
20
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
21
|
+
|
|
22
|
+
[[package]]
|
|
23
|
+
name = "bit-set"
|
|
24
|
+
version = "0.11.1"
|
|
25
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
26
|
+
checksum = "56d87354e4229f54a44f7bf2435906a4656dba36026ab6eaca629a2c436a691c"
|
|
27
|
+
dependencies = [
|
|
28
|
+
"bit-vec",
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
[[package]]
|
|
32
|
+
name = "bit-vec"
|
|
33
|
+
version = "0.10.2"
|
|
34
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
35
|
+
checksum = "72503af1e72be411d74ca45cd6b309878fcb35354e252fc2a3a8bda3a97082a0"
|
|
36
|
+
dependencies = [
|
|
37
|
+
"borsh",
|
|
38
|
+
"serde",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
[[package]]
|
|
42
|
+
name = "bitflags"
|
|
43
|
+
version = "2.13.2"
|
|
44
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
46
|
+
|
|
47
|
+
[[package]]
|
|
48
|
+
name = "block-buffer"
|
|
49
|
+
version = "0.12.1"
|
|
50
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
51
|
+
checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa"
|
|
52
|
+
dependencies = [
|
|
53
|
+
"hybrid-array",
|
|
54
|
+
]
|
|
55
|
+
|
|
56
|
+
[[package]]
|
|
57
|
+
name = "borsh"
|
|
58
|
+
version = "1.8.1"
|
|
59
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
60
|
+
checksum = "553c5d846a6ba5150c65e3b1b8ec073bcf1abc20f9b7220de384a4443ea4e20a"
|
|
61
|
+
dependencies = [
|
|
62
|
+
"borsh-derive",
|
|
63
|
+
"bytes",
|
|
64
|
+
"cfg_aliases",
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
[[package]]
|
|
68
|
+
name = "borsh-derive"
|
|
69
|
+
version = "1.8.1"
|
|
70
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
|
+
checksum = "12cdfe656708a01f89b451a7d36466e6fe6c414de0aa18fc54f864f6f9ca9f56"
|
|
72
|
+
dependencies = [
|
|
73
|
+
"once_cell",
|
|
74
|
+
"proc-macro-crate",
|
|
75
|
+
"proc-macro2",
|
|
76
|
+
"quote",
|
|
77
|
+
"syn 3.0.10",
|
|
78
|
+
]
|
|
79
|
+
|
|
80
|
+
[[package]]
|
|
81
|
+
name = "bytes"
|
|
82
|
+
version = "1.12.2"
|
|
83
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
84
|
+
checksum = "776dfebd015e2d8732c684a2c71003674ccb49457b539b9e82151ba38e96dd7c"
|
|
85
|
+
|
|
86
|
+
[[package]]
|
|
87
|
+
name = "cfg-if"
|
|
88
|
+
version = "1.0.5"
|
|
89
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
90
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
91
|
+
|
|
92
|
+
[[package]]
|
|
93
|
+
name = "cfg_aliases"
|
|
94
|
+
version = "0.2.2"
|
|
95
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
96
|
+
checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
|
|
97
|
+
|
|
98
|
+
[[package]]
|
|
99
|
+
name = "chacha20"
|
|
100
|
+
version = "0.10.2"
|
|
101
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
102
|
+
checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06"
|
|
103
|
+
dependencies = [
|
|
104
|
+
"cfg-if",
|
|
105
|
+
"cpufeatures",
|
|
106
|
+
"rand_core",
|
|
107
|
+
]
|
|
108
|
+
|
|
109
|
+
[[package]]
|
|
110
|
+
name = "cipher"
|
|
111
|
+
version = "0.5.2"
|
|
112
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
113
|
+
checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c"
|
|
114
|
+
dependencies = [
|
|
115
|
+
"block-buffer",
|
|
116
|
+
"crypto-common",
|
|
117
|
+
"inout",
|
|
118
|
+
]
|
|
119
|
+
|
|
120
|
+
[[package]]
|
|
121
|
+
name = "core_detect"
|
|
122
|
+
version = "1.0.0"
|
|
123
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
124
|
+
checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48"
|
|
125
|
+
|
|
126
|
+
[[package]]
|
|
127
|
+
name = "cpubits"
|
|
128
|
+
version = "0.1.1"
|
|
129
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
130
|
+
checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae"
|
|
131
|
+
|
|
132
|
+
[[package]]
|
|
133
|
+
name = "cpufeatures"
|
|
134
|
+
version = "0.3.1"
|
|
135
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
136
|
+
checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566"
|
|
137
|
+
dependencies = [
|
|
138
|
+
"libc",
|
|
139
|
+
]
|
|
140
|
+
|
|
141
|
+
[[package]]
|
|
142
|
+
name = "crypto-common"
|
|
143
|
+
version = "0.2.2"
|
|
144
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
145
|
+
checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
|
|
146
|
+
dependencies = [
|
|
147
|
+
"hybrid-array",
|
|
148
|
+
]
|
|
149
|
+
|
|
150
|
+
[[package]]
|
|
151
|
+
name = "ctr"
|
|
152
|
+
version = "0.10.1"
|
|
153
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
154
|
+
checksum = "baaca1c4b237092596f64d571e9db6ce4109c4ef9742e27590f1709594461f21"
|
|
155
|
+
dependencies = [
|
|
156
|
+
"cipher",
|
|
157
|
+
]
|
|
158
|
+
|
|
159
|
+
[[package]]
|
|
160
|
+
name = "decryptune"
|
|
161
|
+
version = "1.1.9"
|
|
162
|
+
dependencies = [
|
|
163
|
+
"aes",
|
|
164
|
+
"ctr",
|
|
165
|
+
"proptest",
|
|
166
|
+
"pyo3",
|
|
167
|
+
"pyo3-async-runtimes",
|
|
168
|
+
"tokio",
|
|
169
|
+
]
|
|
170
|
+
|
|
171
|
+
[[package]]
|
|
172
|
+
name = "equivalent"
|
|
173
|
+
version = "1.0.3"
|
|
174
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
175
|
+
checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
|
|
176
|
+
|
|
177
|
+
[[package]]
|
|
178
|
+
name = "errno"
|
|
179
|
+
version = "0.3.15"
|
|
180
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
181
|
+
checksum = "e35d6e78f4cebb90e51d543db8fe41528851d6deeef6ef21ebd4bfdc1e784776"
|
|
182
|
+
dependencies = [
|
|
183
|
+
"libc",
|
|
184
|
+
"windows-sys",
|
|
185
|
+
]
|
|
186
|
+
|
|
187
|
+
[[package]]
|
|
188
|
+
name = "fastrand"
|
|
189
|
+
version = "2.5.0"
|
|
190
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
191
|
+
checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223"
|
|
192
|
+
|
|
193
|
+
[[package]]
|
|
194
|
+
name = "fnv"
|
|
195
|
+
version = "1.0.7"
|
|
196
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
197
|
+
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
|
198
|
+
|
|
199
|
+
[[package]]
|
|
200
|
+
name = "futures-channel"
|
|
201
|
+
version = "0.3.34"
|
|
202
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
203
|
+
checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
|
|
204
|
+
dependencies = [
|
|
205
|
+
"futures-core",
|
|
206
|
+
]
|
|
207
|
+
|
|
208
|
+
[[package]]
|
|
209
|
+
name = "futures-core"
|
|
210
|
+
version = "0.3.34"
|
|
211
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
212
|
+
checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
|
|
213
|
+
|
|
214
|
+
[[package]]
|
|
215
|
+
name = "futures-macro"
|
|
216
|
+
version = "0.3.34"
|
|
217
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
218
|
+
checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"
|
|
219
|
+
dependencies = [
|
|
220
|
+
"proc-macro2",
|
|
221
|
+
"quote",
|
|
222
|
+
"syn 3.0.10",
|
|
223
|
+
]
|
|
224
|
+
|
|
225
|
+
[[package]]
|
|
226
|
+
name = "futures-task"
|
|
227
|
+
version = "0.3.34"
|
|
228
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
229
|
+
checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
|
|
230
|
+
|
|
231
|
+
[[package]]
|
|
232
|
+
name = "futures-util"
|
|
233
|
+
version = "0.3.34"
|
|
234
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
235
|
+
checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
|
|
236
|
+
dependencies = [
|
|
237
|
+
"futures-core",
|
|
238
|
+
"futures-macro",
|
|
239
|
+
"futures-task",
|
|
240
|
+
"pin-project-lite",
|
|
241
|
+
"slab",
|
|
242
|
+
]
|
|
243
|
+
|
|
244
|
+
[[package]]
|
|
245
|
+
name = "getrandom"
|
|
246
|
+
version = "0.4.3"
|
|
247
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
248
|
+
checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
|
|
249
|
+
dependencies = [
|
|
250
|
+
"cfg-if",
|
|
251
|
+
"libc",
|
|
252
|
+
"r-efi",
|
|
253
|
+
"rand_core",
|
|
254
|
+
]
|
|
255
|
+
|
|
256
|
+
[[package]]
|
|
257
|
+
name = "hashbrown"
|
|
258
|
+
version = "0.17.2"
|
|
259
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
260
|
+
checksum = "735eaa21a6a5ffb2e84362faaeb90c05ba8e19797ca30428478cb6ea3a4921bc"
|
|
261
|
+
|
|
262
|
+
[[package]]
|
|
263
|
+
name = "heck"
|
|
264
|
+
version = "0.5.0"
|
|
265
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
266
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
267
|
+
|
|
268
|
+
[[package]]
|
|
269
|
+
name = "hybrid-array"
|
|
270
|
+
version = "0.4.15"
|
|
271
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
272
|
+
checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
|
|
273
|
+
dependencies = [
|
|
274
|
+
"typenum",
|
|
275
|
+
]
|
|
276
|
+
|
|
277
|
+
[[package]]
|
|
278
|
+
name = "indexmap"
|
|
279
|
+
version = "2.14.2"
|
|
280
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
281
|
+
checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
|
|
282
|
+
dependencies = [
|
|
283
|
+
"equivalent",
|
|
284
|
+
"hashbrown",
|
|
285
|
+
]
|
|
286
|
+
|
|
287
|
+
[[package]]
|
|
288
|
+
name = "inout"
|
|
289
|
+
version = "0.2.6"
|
|
290
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
291
|
+
checksum = "3a580c13f0ffc335ef42dd3f6b1a41b726051c5e1656d9a3aa6fddb3c5dfbbf9"
|
|
292
|
+
dependencies = [
|
|
293
|
+
"hybrid-array",
|
|
294
|
+
]
|
|
295
|
+
|
|
296
|
+
[[package]]
|
|
297
|
+
name = "libc"
|
|
298
|
+
version = "0.2.191"
|
|
299
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
300
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
301
|
+
|
|
302
|
+
[[package]]
|
|
303
|
+
name = "linux-raw-sys"
|
|
304
|
+
version = "0.12.1"
|
|
305
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
306
|
+
checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
|
|
307
|
+
|
|
308
|
+
[[package]]
|
|
309
|
+
name = "memchr"
|
|
310
|
+
version = "2.8.3"
|
|
311
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
312
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
313
|
+
|
|
314
|
+
[[package]]
|
|
315
|
+
name = "num-traits"
|
|
316
|
+
version = "0.2.19"
|
|
317
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
318
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
319
|
+
dependencies = [
|
|
320
|
+
"autocfg",
|
|
321
|
+
]
|
|
322
|
+
|
|
323
|
+
[[package]]
|
|
324
|
+
name = "once_cell"
|
|
325
|
+
version = "1.21.4"
|
|
326
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
327
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
328
|
+
|
|
329
|
+
[[package]]
|
|
330
|
+
name = "pin-project-lite"
|
|
331
|
+
version = "0.2.19"
|
|
332
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
333
|
+
checksum = "f120c8d5021b34abd2f2ffd7ee96687cbcd6c54a3e68d86b6169f4a5cd480ffe"
|
|
334
|
+
|
|
335
|
+
[[package]]
|
|
336
|
+
name = "portable-atomic"
|
|
337
|
+
version = "1.15.0"
|
|
338
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
339
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
340
|
+
|
|
341
|
+
[[package]]
|
|
342
|
+
name = "proc-macro-crate"
|
|
343
|
+
version = "3.5.0"
|
|
344
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
345
|
+
checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f"
|
|
346
|
+
dependencies = [
|
|
347
|
+
"toml_edit",
|
|
348
|
+
]
|
|
349
|
+
|
|
350
|
+
[[package]]
|
|
351
|
+
name = "proc-macro2"
|
|
352
|
+
version = "1.0.107"
|
|
353
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
354
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
355
|
+
dependencies = [
|
|
356
|
+
"unicode-ident",
|
|
357
|
+
]
|
|
358
|
+
|
|
359
|
+
[[package]]
|
|
360
|
+
name = "proptest"
|
|
361
|
+
version = "1.12.0"
|
|
362
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
363
|
+
checksum = "b8530004ccb15eae51c7e40009fbe317f341f804db54dc033eec1c50be28cfa0"
|
|
364
|
+
dependencies = [
|
|
365
|
+
"bit-set",
|
|
366
|
+
"bit-vec",
|
|
367
|
+
"bitflags",
|
|
368
|
+
"chacha20",
|
|
369
|
+
"core_detect",
|
|
370
|
+
"num-traits",
|
|
371
|
+
"rand",
|
|
372
|
+
"rand_xorshift",
|
|
373
|
+
"regex-syntax",
|
|
374
|
+
"rusty-fork",
|
|
375
|
+
"tempfile",
|
|
376
|
+
"unarray",
|
|
377
|
+
]
|
|
378
|
+
|
|
379
|
+
[[package]]
|
|
380
|
+
name = "pyo3"
|
|
381
|
+
version = "0.29.3"
|
|
382
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
383
|
+
checksum = "700d18fa267b73b9b521fd7e13580e2f446916f176cacee1ab63fcc8191f1655"
|
|
384
|
+
dependencies = [
|
|
385
|
+
"libc",
|
|
386
|
+
"once_cell",
|
|
387
|
+
"portable-atomic",
|
|
388
|
+
"pyo3-build-config",
|
|
389
|
+
"pyo3-ffi",
|
|
390
|
+
"pyo3-macros",
|
|
391
|
+
]
|
|
392
|
+
|
|
393
|
+
[[package]]
|
|
394
|
+
name = "pyo3-async-runtimes"
|
|
395
|
+
version = "0.29.0"
|
|
396
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
397
|
+
checksum = "b3ef68daa7316a3fac65e5e18b2203f010346de1c1c53456811a2624673ab046"
|
|
398
|
+
dependencies = [
|
|
399
|
+
"futures-channel",
|
|
400
|
+
"futures-util",
|
|
401
|
+
"once_cell",
|
|
402
|
+
"pin-project-lite",
|
|
403
|
+
"pyo3",
|
|
404
|
+
"tokio",
|
|
405
|
+
]
|
|
406
|
+
|
|
407
|
+
[[package]]
|
|
408
|
+
name = "pyo3-build-config"
|
|
409
|
+
version = "0.29.3"
|
|
410
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
411
|
+
checksum = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb"
|
|
412
|
+
dependencies = [
|
|
413
|
+
"target-lexicon",
|
|
414
|
+
]
|
|
415
|
+
|
|
416
|
+
[[package]]
|
|
417
|
+
name = "pyo3-ffi"
|
|
418
|
+
version = "0.29.3"
|
|
419
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
420
|
+
checksum = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330"
|
|
421
|
+
dependencies = [
|
|
422
|
+
"libc",
|
|
423
|
+
"pyo3-build-config",
|
|
424
|
+
]
|
|
425
|
+
|
|
426
|
+
[[package]]
|
|
427
|
+
name = "pyo3-macros"
|
|
428
|
+
version = "0.29.3"
|
|
429
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
430
|
+
checksum = "6100e8a4b5eba53afaa5ed078364851a0b2499c553a44c31026b929049b49dc6"
|
|
431
|
+
dependencies = [
|
|
432
|
+
"proc-macro2",
|
|
433
|
+
"pyo3-macros-backend",
|
|
434
|
+
"quote",
|
|
435
|
+
"syn 2.0.119",
|
|
436
|
+
]
|
|
437
|
+
|
|
438
|
+
[[package]]
|
|
439
|
+
name = "pyo3-macros-backend"
|
|
440
|
+
version = "0.29.3"
|
|
441
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
442
|
+
checksum = "6143877a16e82b5a727b7127ff4cd86858a24a28d745d72f43e6f227c7b1bdb3"
|
|
443
|
+
dependencies = [
|
|
444
|
+
"heck",
|
|
445
|
+
"proc-macro2",
|
|
446
|
+
"quote",
|
|
447
|
+
"syn 2.0.119",
|
|
448
|
+
]
|
|
449
|
+
|
|
450
|
+
[[package]]
|
|
451
|
+
name = "quick-error"
|
|
452
|
+
version = "1.2.3"
|
|
453
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
454
|
+
checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
|
|
455
|
+
|
|
456
|
+
[[package]]
|
|
457
|
+
name = "quote"
|
|
458
|
+
version = "1.0.47"
|
|
459
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
461
|
+
dependencies = [
|
|
462
|
+
"proc-macro2",
|
|
463
|
+
]
|
|
464
|
+
|
|
465
|
+
[[package]]
|
|
466
|
+
name = "r-efi"
|
|
467
|
+
version = "6.0.0"
|
|
468
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
469
|
+
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
|
|
470
|
+
|
|
471
|
+
[[package]]
|
|
472
|
+
name = "rand"
|
|
473
|
+
version = "0.10.4"
|
|
474
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
475
|
+
checksum = "8f6fa277c67e6ea590466f04c3fe82cb509f0864fe470643e5570de9514a9b11"
|
|
476
|
+
dependencies = [
|
|
477
|
+
"getrandom",
|
|
478
|
+
"rand_core",
|
|
479
|
+
]
|
|
480
|
+
|
|
481
|
+
[[package]]
|
|
482
|
+
name = "rand_core"
|
|
483
|
+
version = "0.10.1"
|
|
484
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
485
|
+
checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
|
|
486
|
+
|
|
487
|
+
[[package]]
|
|
488
|
+
name = "rand_xorshift"
|
|
489
|
+
version = "0.5.0"
|
|
490
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
491
|
+
checksum = "60aa6af80be32871323012e02e6e65f8a7cc7890931ae421d217ad8fe0df2ccf"
|
|
492
|
+
dependencies = [
|
|
493
|
+
"rand_core",
|
|
494
|
+
]
|
|
495
|
+
|
|
496
|
+
[[package]]
|
|
497
|
+
name = "regex-syntax"
|
|
498
|
+
version = "0.8.12"
|
|
499
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
500
|
+
checksum = "d902046e6a28a1e4c3cab97258a0ce11e994903f01c2d97a9447a0b3df85f4f6"
|
|
501
|
+
|
|
502
|
+
[[package]]
|
|
503
|
+
name = "rustix"
|
|
504
|
+
version = "1.1.6"
|
|
505
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
506
|
+
checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa"
|
|
507
|
+
dependencies = [
|
|
508
|
+
"bitflags",
|
|
509
|
+
"errno",
|
|
510
|
+
"libc",
|
|
511
|
+
"linux-raw-sys",
|
|
512
|
+
"windows-sys",
|
|
513
|
+
]
|
|
514
|
+
|
|
515
|
+
[[package]]
|
|
516
|
+
name = "rusty-fork"
|
|
517
|
+
version = "0.3.1"
|
|
518
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
519
|
+
checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2"
|
|
520
|
+
dependencies = [
|
|
521
|
+
"fnv",
|
|
522
|
+
"quick-error",
|
|
523
|
+
"tempfile",
|
|
524
|
+
"wait-timeout",
|
|
525
|
+
]
|
|
526
|
+
|
|
527
|
+
[[package]]
|
|
528
|
+
name = "serde"
|
|
529
|
+
version = "1.0.229"
|
|
530
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
531
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
532
|
+
dependencies = [
|
|
533
|
+
"serde_core",
|
|
534
|
+
"serde_derive",
|
|
535
|
+
]
|
|
536
|
+
|
|
537
|
+
[[package]]
|
|
538
|
+
name = "serde_core"
|
|
539
|
+
version = "1.0.229"
|
|
540
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
541
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
542
|
+
dependencies = [
|
|
543
|
+
"serde_derive",
|
|
544
|
+
]
|
|
545
|
+
|
|
546
|
+
[[package]]
|
|
547
|
+
name = "serde_derive"
|
|
548
|
+
version = "1.0.229"
|
|
549
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
550
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
551
|
+
dependencies = [
|
|
552
|
+
"proc-macro2",
|
|
553
|
+
"quote",
|
|
554
|
+
"syn 3.0.10",
|
|
555
|
+
]
|
|
556
|
+
|
|
557
|
+
[[package]]
|
|
558
|
+
name = "slab"
|
|
559
|
+
version = "0.4.12"
|
|
560
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
561
|
+
checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
562
|
+
|
|
563
|
+
[[package]]
|
|
564
|
+
name = "syn"
|
|
565
|
+
version = "2.0.119"
|
|
566
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
567
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
568
|
+
dependencies = [
|
|
569
|
+
"proc-macro2",
|
|
570
|
+
"quote",
|
|
571
|
+
"unicode-ident",
|
|
572
|
+
]
|
|
573
|
+
|
|
574
|
+
[[package]]
|
|
575
|
+
name = "syn"
|
|
576
|
+
version = "3.0.10"
|
|
577
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
578
|
+
checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
|
|
579
|
+
dependencies = [
|
|
580
|
+
"proc-macro2",
|
|
581
|
+
"quote",
|
|
582
|
+
"unicode-ident",
|
|
583
|
+
]
|
|
584
|
+
|
|
585
|
+
[[package]]
|
|
586
|
+
name = "target-lexicon"
|
|
587
|
+
version = "0.13.6"
|
|
588
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
589
|
+
checksum = "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
|
|
590
|
+
|
|
591
|
+
[[package]]
|
|
592
|
+
name = "tempfile"
|
|
593
|
+
version = "3.27.0"
|
|
594
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
595
|
+
checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
|
|
596
|
+
dependencies = [
|
|
597
|
+
"fastrand",
|
|
598
|
+
"getrandom",
|
|
599
|
+
"once_cell",
|
|
600
|
+
"rustix",
|
|
601
|
+
"windows-sys",
|
|
602
|
+
]
|
|
603
|
+
|
|
604
|
+
[[package]]
|
|
605
|
+
name = "tokio"
|
|
606
|
+
version = "1.54.1"
|
|
607
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
608
|
+
checksum = "b52fd3255258d26fac7264ab5a76b53c13367136dc011d3d6ad4f8ed070396a3"
|
|
609
|
+
dependencies = [
|
|
610
|
+
"pin-project-lite",
|
|
611
|
+
]
|
|
612
|
+
|
|
613
|
+
[[package]]
|
|
614
|
+
name = "toml_datetime"
|
|
615
|
+
version = "1.1.3+spec-1.1.0"
|
|
616
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
617
|
+
checksum = "173f25c883cd2176a2d8212155638c0a60d484a9d84546d270866f40f56b6e49"
|
|
618
|
+
dependencies = [
|
|
619
|
+
"serde_core",
|
|
620
|
+
]
|
|
621
|
+
|
|
622
|
+
[[package]]
|
|
623
|
+
name = "toml_edit"
|
|
624
|
+
version = "0.25.21+spec-1.1.0"
|
|
625
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
626
|
+
checksum = "88497dab46de5bf343ec66b05c251e48c6213f3e9170c70a70a823f7abe886a4"
|
|
627
|
+
dependencies = [
|
|
628
|
+
"indexmap",
|
|
629
|
+
"toml_datetime",
|
|
630
|
+
"toml_parser",
|
|
631
|
+
"winnow",
|
|
632
|
+
]
|
|
633
|
+
|
|
634
|
+
[[package]]
|
|
635
|
+
name = "toml_parser"
|
|
636
|
+
version = "1.1.7+spec-1.1.0"
|
|
637
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
638
|
+
checksum = "0bb28d6e049a9766c3bd91a8326e6179f5b132dec87906bb97018ef7a2f3431a"
|
|
639
|
+
dependencies = [
|
|
640
|
+
"winnow",
|
|
641
|
+
]
|
|
642
|
+
|
|
643
|
+
[[package]]
|
|
644
|
+
name = "typenum"
|
|
645
|
+
version = "1.20.1"
|
|
646
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
647
|
+
checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
|
|
648
|
+
|
|
649
|
+
[[package]]
|
|
650
|
+
name = "unarray"
|
|
651
|
+
version = "0.1.4"
|
|
652
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
653
|
+
checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94"
|
|
654
|
+
|
|
655
|
+
[[package]]
|
|
656
|
+
name = "unicode-ident"
|
|
657
|
+
version = "1.0.27"
|
|
658
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
659
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
660
|
+
|
|
661
|
+
[[package]]
|
|
662
|
+
name = "wait-timeout"
|
|
663
|
+
version = "0.2.1"
|
|
664
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
665
|
+
checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11"
|
|
666
|
+
dependencies = [
|
|
667
|
+
"libc",
|
|
668
|
+
]
|
|
669
|
+
|
|
670
|
+
[[package]]
|
|
671
|
+
name = "windows-link"
|
|
672
|
+
version = "0.2.1"
|
|
673
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
674
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
675
|
+
|
|
676
|
+
[[package]]
|
|
677
|
+
name = "windows-sys"
|
|
678
|
+
version = "0.61.2"
|
|
679
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
680
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
681
|
+
dependencies = [
|
|
682
|
+
"windows-link",
|
|
683
|
+
]
|
|
684
|
+
|
|
685
|
+
[[package]]
|
|
686
|
+
name = "winnow"
|
|
687
|
+
version = "1.0.5"
|
|
688
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
689
|
+
checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef"
|
|
690
|
+
dependencies = [
|
|
691
|
+
"memchr",
|
|
692
|
+
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "decryptune"
|
|
3
|
-
version = "1.1.
|
|
3
|
+
version = "1.1.9"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
rust-version = "1.85"
|
|
6
6
|
description = "Fast native M4A/fMP4 CENC decryptor, MP4 sanitizer and iTunes tagger, sync & async Python"
|
|
@@ -20,6 +20,9 @@ pyo3 = { version = "0.29", features = ["extension-module", "abi3-py312"] }
|
|
|
20
20
|
pyo3-async-runtimes = { version = "0.29", features = ["tokio-runtime"] }
|
|
21
21
|
tokio = { version = "1.53", features = ["rt-multi-thread", "fs"] }
|
|
22
22
|
|
|
23
|
+
[dev-dependencies]
|
|
24
|
+
proptest = "1.6"
|
|
25
|
+
|
|
23
26
|
[profile.release]
|
|
24
27
|
opt-level = 3
|
|
25
28
|
lto = true
|