anyformat-core 0.2.0__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.
- anyformat_core-0.2.0/Cargo.lock +666 -0
- anyformat_core-0.2.0/Cargo.toml +29 -0
- anyformat_core-0.2.0/PKG-INFO +10 -0
- anyformat_core-0.2.0/bindings/python/anyformat/Cargo.toml +21 -0
- anyformat_core-0.2.0/bindings/python/anyformat/build.rs +5 -0
- anyformat_core-0.2.0/bindings/python/anyformat/package.json +9 -0
- anyformat_core-0.2.0/bindings/python/anyformat/src/lib.rs +158 -0
- anyformat_core-0.2.0/bindings/python/anyformat/tests/test_anyformat.py +119 -0
- anyformat_core-0.2.0/crates/anyformat/Cargo.toml +11 -0
- anyformat_core-0.2.0/crates/anyformat/src/audio.rs +256 -0
- anyformat_core-0.2.0/crates/anyformat/src/font.rs +131 -0
- anyformat_core-0.2.0/crates/anyformat/src/image.rs +232 -0
- anyformat_core-0.2.0/crates/anyformat/src/isobmff.rs +89 -0
- anyformat_core-0.2.0/crates/anyformat/src/lib.rs +449 -0
- anyformat_core-0.2.0/crates/anyformat/src/macros.rs +87 -0
- anyformat_core-0.2.0/crates/anyformat/src/office/zip.rs +137 -0
- anyformat_core-0.2.0/crates/anyformat/src/office.rs +286 -0
- anyformat_core-0.2.0/crates/anyformat/src/pdf.rs +174 -0
- anyformat_core-0.2.0/crates/anyformat/src/riff.rs +24 -0
- anyformat_core-0.2.0/crates/anyformat/src/source.rs +303 -0
- anyformat_core-0.2.0/crates/anyformat/src/video.rs +217 -0
- anyformat_core-0.2.0/crates/anyformat/tests/families.rs +57 -0
- anyformat_core-0.2.0/pyproject.toml +35 -0
- anyformat_core-0.2.0/python/anyformat_core/__init__.py +17 -0
- anyformat_core-0.2.0/python/anyformat_core/_native.pyi +41 -0
- anyformat_core-0.2.0/python/anyformat_core/py.typed +0 -0
|
@@ -0,0 +1,666 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "adler2"
|
|
7
|
+
version = "2.0.1"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "anyformat"
|
|
13
|
+
version = "0.2.0"
|
|
14
|
+
|
|
15
|
+
[[package]]
|
|
16
|
+
name = "anyformat_audio"
|
|
17
|
+
version = "0.2.0"
|
|
18
|
+
|
|
19
|
+
[[package]]
|
|
20
|
+
name = "anyformat_audio_node"
|
|
21
|
+
version = "0.2.0"
|
|
22
|
+
dependencies = [
|
|
23
|
+
"anyformat",
|
|
24
|
+
"napi",
|
|
25
|
+
"napi-build",
|
|
26
|
+
"napi-derive",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "anyformat_audio_python"
|
|
31
|
+
version = "0.2.0"
|
|
32
|
+
dependencies = [
|
|
33
|
+
"anyformat",
|
|
34
|
+
"pyo3",
|
|
35
|
+
"pyo3-build-config",
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
[[package]]
|
|
39
|
+
name = "anyformat_font"
|
|
40
|
+
version = "0.2.0"
|
|
41
|
+
|
|
42
|
+
[[package]]
|
|
43
|
+
name = "anyformat_font_node"
|
|
44
|
+
version = "0.2.0"
|
|
45
|
+
dependencies = [
|
|
46
|
+
"anyformat",
|
|
47
|
+
"napi",
|
|
48
|
+
"napi-build",
|
|
49
|
+
"napi-derive",
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
[[package]]
|
|
53
|
+
name = "anyformat_font_python"
|
|
54
|
+
version = "0.2.0"
|
|
55
|
+
dependencies = [
|
|
56
|
+
"anyformat",
|
|
57
|
+
"pyo3",
|
|
58
|
+
"pyo3-build-config",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "anyformat_image"
|
|
63
|
+
version = "0.2.0"
|
|
64
|
+
dependencies = [
|
|
65
|
+
"anyformat",
|
|
66
|
+
"crc32fast",
|
|
67
|
+
"flate2",
|
|
68
|
+
"png",
|
|
69
|
+
"rayon",
|
|
70
|
+
]
|
|
71
|
+
|
|
72
|
+
[[package]]
|
|
73
|
+
name = "anyformat_image_node"
|
|
74
|
+
version = "0.2.0"
|
|
75
|
+
dependencies = [
|
|
76
|
+
"anyformat",
|
|
77
|
+
"anyformat_image",
|
|
78
|
+
"napi",
|
|
79
|
+
"napi-build",
|
|
80
|
+
"napi-derive",
|
|
81
|
+
]
|
|
82
|
+
|
|
83
|
+
[[package]]
|
|
84
|
+
name = "anyformat_image_python"
|
|
85
|
+
version = "0.2.0"
|
|
86
|
+
dependencies = [
|
|
87
|
+
"anyformat",
|
|
88
|
+
"anyformat_image",
|
|
89
|
+
"pyo3",
|
|
90
|
+
"pyo3-build-config",
|
|
91
|
+
]
|
|
92
|
+
|
|
93
|
+
[[package]]
|
|
94
|
+
name = "anyformat_node"
|
|
95
|
+
version = "0.2.0"
|
|
96
|
+
dependencies = [
|
|
97
|
+
"anyformat",
|
|
98
|
+
"napi",
|
|
99
|
+
"napi-build",
|
|
100
|
+
"napi-derive",
|
|
101
|
+
]
|
|
102
|
+
|
|
103
|
+
[[package]]
|
|
104
|
+
name = "anyformat_office"
|
|
105
|
+
version = "0.2.0"
|
|
106
|
+
|
|
107
|
+
[[package]]
|
|
108
|
+
name = "anyformat_office_node"
|
|
109
|
+
version = "0.2.0"
|
|
110
|
+
dependencies = [
|
|
111
|
+
"anyformat",
|
|
112
|
+
"napi",
|
|
113
|
+
"napi-build",
|
|
114
|
+
"napi-derive",
|
|
115
|
+
]
|
|
116
|
+
|
|
117
|
+
[[package]]
|
|
118
|
+
name = "anyformat_office_python"
|
|
119
|
+
version = "0.2.0"
|
|
120
|
+
dependencies = [
|
|
121
|
+
"anyformat",
|
|
122
|
+
"pyo3",
|
|
123
|
+
"pyo3-build-config",
|
|
124
|
+
]
|
|
125
|
+
|
|
126
|
+
[[package]]
|
|
127
|
+
name = "anyformat_pdf"
|
|
128
|
+
version = "0.2.0"
|
|
129
|
+
|
|
130
|
+
[[package]]
|
|
131
|
+
name = "anyformat_pdf_node"
|
|
132
|
+
version = "0.2.0"
|
|
133
|
+
dependencies = [
|
|
134
|
+
"anyformat",
|
|
135
|
+
"napi",
|
|
136
|
+
"napi-build",
|
|
137
|
+
"napi-derive",
|
|
138
|
+
]
|
|
139
|
+
|
|
140
|
+
[[package]]
|
|
141
|
+
name = "anyformat_pdf_python"
|
|
142
|
+
version = "0.2.0"
|
|
143
|
+
dependencies = [
|
|
144
|
+
"anyformat",
|
|
145
|
+
"pyo3",
|
|
146
|
+
"pyo3-build-config",
|
|
147
|
+
]
|
|
148
|
+
|
|
149
|
+
[[package]]
|
|
150
|
+
name = "anyformat_python"
|
|
151
|
+
version = "0.2.0"
|
|
152
|
+
dependencies = [
|
|
153
|
+
"anyformat",
|
|
154
|
+
"pyo3",
|
|
155
|
+
"pyo3-build-config",
|
|
156
|
+
]
|
|
157
|
+
|
|
158
|
+
[[package]]
|
|
159
|
+
name = "anyformat_video"
|
|
160
|
+
version = "0.2.0"
|
|
161
|
+
|
|
162
|
+
[[package]]
|
|
163
|
+
name = "anyformat_video_node"
|
|
164
|
+
version = "0.2.0"
|
|
165
|
+
dependencies = [
|
|
166
|
+
"anyformat",
|
|
167
|
+
"napi",
|
|
168
|
+
"napi-build",
|
|
169
|
+
"napi-derive",
|
|
170
|
+
]
|
|
171
|
+
|
|
172
|
+
[[package]]
|
|
173
|
+
name = "anyformat_video_python"
|
|
174
|
+
version = "0.2.0"
|
|
175
|
+
dependencies = [
|
|
176
|
+
"anyformat",
|
|
177
|
+
"pyo3",
|
|
178
|
+
"pyo3-build-config",
|
|
179
|
+
]
|
|
180
|
+
|
|
181
|
+
[[package]]
|
|
182
|
+
name = "bitflags"
|
|
183
|
+
version = "2.13.2"
|
|
184
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
185
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
186
|
+
|
|
187
|
+
[[package]]
|
|
188
|
+
name = "cfg-if"
|
|
189
|
+
version = "1.0.5"
|
|
190
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
191
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
192
|
+
|
|
193
|
+
[[package]]
|
|
194
|
+
name = "convert_case"
|
|
195
|
+
version = "0.12.0"
|
|
196
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
197
|
+
checksum = "1af709f1f33454bf52eadfc8c78b3b9ef9cb26fb54d16dc9cd9a7299f899fd1b"
|
|
198
|
+
dependencies = [
|
|
199
|
+
"unicode-segmentation",
|
|
200
|
+
]
|
|
201
|
+
|
|
202
|
+
[[package]]
|
|
203
|
+
name = "crc32fast"
|
|
204
|
+
version = "1.5.6"
|
|
205
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
+
checksum = "fd9ae8fcb3ea71b0b26338b4ffb13006bb175de8fd07921089a906ce7e5e6945"
|
|
207
|
+
dependencies = [
|
|
208
|
+
"cfg-if",
|
|
209
|
+
]
|
|
210
|
+
|
|
211
|
+
[[package]]
|
|
212
|
+
name = "crossbeam-deque"
|
|
213
|
+
version = "0.8.8"
|
|
214
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
215
|
+
checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
|
|
216
|
+
dependencies = [
|
|
217
|
+
"crossbeam-epoch",
|
|
218
|
+
"crossbeam-utils",
|
|
219
|
+
]
|
|
220
|
+
|
|
221
|
+
[[package]]
|
|
222
|
+
name = "crossbeam-epoch"
|
|
223
|
+
version = "0.9.21"
|
|
224
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
225
|
+
checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
|
|
226
|
+
dependencies = [
|
|
227
|
+
"crossbeam-utils",
|
|
228
|
+
]
|
|
229
|
+
|
|
230
|
+
[[package]]
|
|
231
|
+
name = "crossbeam-utils"
|
|
232
|
+
version = "0.8.23"
|
|
233
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
+
checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
|
|
235
|
+
|
|
236
|
+
[[package]]
|
|
237
|
+
name = "ctor"
|
|
238
|
+
version = "1.0.14"
|
|
239
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
240
|
+
checksum = "ea691ed9f36489d087419b8b2ba3ef27d89621380b4178c73e2445a379e4e0f4"
|
|
241
|
+
dependencies = [
|
|
242
|
+
"link-section",
|
|
243
|
+
]
|
|
244
|
+
|
|
245
|
+
[[package]]
|
|
246
|
+
name = "either"
|
|
247
|
+
version = "1.19.0"
|
|
248
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
249
|
+
checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
|
250
|
+
|
|
251
|
+
[[package]]
|
|
252
|
+
name = "fdeflate"
|
|
253
|
+
version = "0.3.7"
|
|
254
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
255
|
+
checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c"
|
|
256
|
+
dependencies = [
|
|
257
|
+
"simd-adler32",
|
|
258
|
+
]
|
|
259
|
+
|
|
260
|
+
[[package]]
|
|
261
|
+
name = "flate2"
|
|
262
|
+
version = "1.1.11"
|
|
263
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
264
|
+
checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4"
|
|
265
|
+
dependencies = [
|
|
266
|
+
"crc32fast",
|
|
267
|
+
"miniz_oxide 0.9.1",
|
|
268
|
+
"zlib-rs",
|
|
269
|
+
]
|
|
270
|
+
|
|
271
|
+
[[package]]
|
|
272
|
+
name = "futures"
|
|
273
|
+
version = "0.3.34"
|
|
274
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
275
|
+
checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3"
|
|
276
|
+
dependencies = [
|
|
277
|
+
"futures-channel",
|
|
278
|
+
"futures-core",
|
|
279
|
+
"futures-executor",
|
|
280
|
+
"futures-io",
|
|
281
|
+
"futures-sink",
|
|
282
|
+
"futures-task",
|
|
283
|
+
"futures-util",
|
|
284
|
+
]
|
|
285
|
+
|
|
286
|
+
[[package]]
|
|
287
|
+
name = "futures-channel"
|
|
288
|
+
version = "0.3.34"
|
|
289
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
290
|
+
checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
|
|
291
|
+
dependencies = [
|
|
292
|
+
"futures-core",
|
|
293
|
+
"futures-sink",
|
|
294
|
+
]
|
|
295
|
+
|
|
296
|
+
[[package]]
|
|
297
|
+
name = "futures-core"
|
|
298
|
+
version = "0.3.34"
|
|
299
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
300
|
+
checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
|
|
301
|
+
|
|
302
|
+
[[package]]
|
|
303
|
+
name = "futures-executor"
|
|
304
|
+
version = "0.3.34"
|
|
305
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
306
|
+
checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432"
|
|
307
|
+
dependencies = [
|
|
308
|
+
"futures-core",
|
|
309
|
+
"futures-task",
|
|
310
|
+
"futures-util",
|
|
311
|
+
]
|
|
312
|
+
|
|
313
|
+
[[package]]
|
|
314
|
+
name = "futures-io"
|
|
315
|
+
version = "0.3.34"
|
|
316
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
317
|
+
checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed"
|
|
318
|
+
|
|
319
|
+
[[package]]
|
|
320
|
+
name = "futures-macro"
|
|
321
|
+
version = "0.3.34"
|
|
322
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
323
|
+
checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"
|
|
324
|
+
dependencies = [
|
|
325
|
+
"proc-macro2",
|
|
326
|
+
"quote",
|
|
327
|
+
"syn",
|
|
328
|
+
]
|
|
329
|
+
|
|
330
|
+
[[package]]
|
|
331
|
+
name = "futures-sink"
|
|
332
|
+
version = "0.3.34"
|
|
333
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
334
|
+
checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
|
|
335
|
+
|
|
336
|
+
[[package]]
|
|
337
|
+
name = "futures-task"
|
|
338
|
+
version = "0.3.34"
|
|
339
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
340
|
+
checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
|
|
341
|
+
|
|
342
|
+
[[package]]
|
|
343
|
+
name = "futures-util"
|
|
344
|
+
version = "0.3.34"
|
|
345
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
346
|
+
checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
|
|
347
|
+
dependencies = [
|
|
348
|
+
"futures-channel",
|
|
349
|
+
"futures-core",
|
|
350
|
+
"futures-io",
|
|
351
|
+
"futures-macro",
|
|
352
|
+
"futures-sink",
|
|
353
|
+
"futures-task",
|
|
354
|
+
"memchr",
|
|
355
|
+
"pin-project-lite",
|
|
356
|
+
"slab",
|
|
357
|
+
]
|
|
358
|
+
|
|
359
|
+
[[package]]
|
|
360
|
+
name = "heck"
|
|
361
|
+
version = "0.5.0"
|
|
362
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
363
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
364
|
+
|
|
365
|
+
[[package]]
|
|
366
|
+
name = "libc"
|
|
367
|
+
version = "0.2.191"
|
|
368
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
369
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
370
|
+
|
|
371
|
+
[[package]]
|
|
372
|
+
name = "libloading"
|
|
373
|
+
version = "0.9.1"
|
|
374
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
375
|
+
checksum = "a1832accd5a4ca2795ace4d05d15c4039be15b62d3b950eff99746a990e3cc10"
|
|
376
|
+
dependencies = [
|
|
377
|
+
"cfg-if",
|
|
378
|
+
"windows-link",
|
|
379
|
+
]
|
|
380
|
+
|
|
381
|
+
[[package]]
|
|
382
|
+
name = "link-section"
|
|
383
|
+
version = "0.19.4"
|
|
384
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
385
|
+
checksum = "4d9aae57673c1a235149777a74d152f3210ebd3e3b13346d2cdb6809e566bd3c"
|
|
386
|
+
|
|
387
|
+
[[package]]
|
|
388
|
+
name = "memchr"
|
|
389
|
+
version = "2.8.3"
|
|
390
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
391
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
392
|
+
|
|
393
|
+
[[package]]
|
|
394
|
+
name = "miniz_oxide"
|
|
395
|
+
version = "0.8.9"
|
|
396
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
397
|
+
checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
|
|
398
|
+
dependencies = [
|
|
399
|
+
"adler2",
|
|
400
|
+
"simd-adler32",
|
|
401
|
+
]
|
|
402
|
+
|
|
403
|
+
[[package]]
|
|
404
|
+
name = "miniz_oxide"
|
|
405
|
+
version = "0.9.1"
|
|
406
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
407
|
+
checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c"
|
|
408
|
+
dependencies = [
|
|
409
|
+
"adler2",
|
|
410
|
+
"simd-adler32",
|
|
411
|
+
]
|
|
412
|
+
|
|
413
|
+
[[package]]
|
|
414
|
+
name = "napi"
|
|
415
|
+
version = "3.16.3"
|
|
416
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
417
|
+
checksum = "3638796ff28754eaeca96cda32e0c4e2e30b83d0e53f32a4537d6a8bcf15f532"
|
|
418
|
+
dependencies = [
|
|
419
|
+
"bitflags",
|
|
420
|
+
"ctor",
|
|
421
|
+
"futures",
|
|
422
|
+
"libc",
|
|
423
|
+
"napi-build",
|
|
424
|
+
"napi-sys",
|
|
425
|
+
"nohash-hasher",
|
|
426
|
+
"rustc-hash",
|
|
427
|
+
]
|
|
428
|
+
|
|
429
|
+
[[package]]
|
|
430
|
+
name = "napi-build"
|
|
431
|
+
version = "2.7.0"
|
|
432
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
433
|
+
checksum = "adb4c45ca811160461dba7eccc68b66702ddb5c9f30afb16007caac3c0eb6e2a"
|
|
434
|
+
|
|
435
|
+
[[package]]
|
|
436
|
+
name = "napi-derive"
|
|
437
|
+
version = "3.7.2"
|
|
438
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
439
|
+
checksum = "d3f284288c8a2a4a66519e24dcc0cbfa1b7e0abc37bdd073185c68276f08f3d3"
|
|
440
|
+
dependencies = [
|
|
441
|
+
"convert_case",
|
|
442
|
+
"napi-derive-backend",
|
|
443
|
+
"proc-macro2",
|
|
444
|
+
"quote",
|
|
445
|
+
"syn",
|
|
446
|
+
"unicode-ident",
|
|
447
|
+
]
|
|
448
|
+
|
|
449
|
+
[[package]]
|
|
450
|
+
name = "napi-derive-backend"
|
|
451
|
+
version = "8.0.0"
|
|
452
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
453
|
+
checksum = "32477ed34450779386e6aaa3b33bcf3916035b7de0fee68b73716f65a3894003"
|
|
454
|
+
dependencies = [
|
|
455
|
+
"convert_case",
|
|
456
|
+
"proc-macro2",
|
|
457
|
+
"quote",
|
|
458
|
+
"semver",
|
|
459
|
+
"syn",
|
|
460
|
+
]
|
|
461
|
+
|
|
462
|
+
[[package]]
|
|
463
|
+
name = "napi-sys"
|
|
464
|
+
version = "3.4.1"
|
|
465
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
466
|
+
checksum = "d153beb7d5c973f4b9395be8a83054a28968b61188f1dd1a2cc2321af22daea2"
|
|
467
|
+
dependencies = [
|
|
468
|
+
"libloading",
|
|
469
|
+
]
|
|
470
|
+
|
|
471
|
+
[[package]]
|
|
472
|
+
name = "nohash-hasher"
|
|
473
|
+
version = "0.2.0"
|
|
474
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
475
|
+
checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
|
|
476
|
+
|
|
477
|
+
[[package]]
|
|
478
|
+
name = "once_cell"
|
|
479
|
+
version = "1.21.4"
|
|
480
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
481
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
482
|
+
|
|
483
|
+
[[package]]
|
|
484
|
+
name = "pin-project-lite"
|
|
485
|
+
version = "0.2.19"
|
|
486
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
487
|
+
checksum = "f120c8d5021b34abd2f2ffd7ee96687cbcd6c54a3e68d86b6169f4a5cd480ffe"
|
|
488
|
+
|
|
489
|
+
[[package]]
|
|
490
|
+
name = "png"
|
|
491
|
+
version = "0.18.1"
|
|
492
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
493
|
+
checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61"
|
|
494
|
+
dependencies = [
|
|
495
|
+
"bitflags",
|
|
496
|
+
"crc32fast",
|
|
497
|
+
"fdeflate",
|
|
498
|
+
"flate2",
|
|
499
|
+
"miniz_oxide 0.8.9",
|
|
500
|
+
]
|
|
501
|
+
|
|
502
|
+
[[package]]
|
|
503
|
+
name = "portable-atomic"
|
|
504
|
+
version = "1.15.0"
|
|
505
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
506
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
507
|
+
|
|
508
|
+
[[package]]
|
|
509
|
+
name = "proc-macro2"
|
|
510
|
+
version = "1.0.107"
|
|
511
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
512
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
513
|
+
dependencies = [
|
|
514
|
+
"unicode-ident",
|
|
515
|
+
]
|
|
516
|
+
|
|
517
|
+
[[package]]
|
|
518
|
+
name = "pyo3"
|
|
519
|
+
version = "0.30.1"
|
|
520
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
521
|
+
checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
|
|
522
|
+
dependencies = [
|
|
523
|
+
"libc",
|
|
524
|
+
"once_cell",
|
|
525
|
+
"portable-atomic",
|
|
526
|
+
"pyo3-build-config",
|
|
527
|
+
"pyo3-ffi",
|
|
528
|
+
"pyo3-macros",
|
|
529
|
+
]
|
|
530
|
+
|
|
531
|
+
[[package]]
|
|
532
|
+
name = "pyo3-build-config"
|
|
533
|
+
version = "0.30.1"
|
|
534
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
535
|
+
checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
|
|
536
|
+
dependencies = [
|
|
537
|
+
"target-lexicon",
|
|
538
|
+
]
|
|
539
|
+
|
|
540
|
+
[[package]]
|
|
541
|
+
name = "pyo3-ffi"
|
|
542
|
+
version = "0.30.1"
|
|
543
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
544
|
+
checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
|
|
545
|
+
dependencies = [
|
|
546
|
+
"libc",
|
|
547
|
+
"pyo3-build-config",
|
|
548
|
+
]
|
|
549
|
+
|
|
550
|
+
[[package]]
|
|
551
|
+
name = "pyo3-macros"
|
|
552
|
+
version = "0.30.1"
|
|
553
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
554
|
+
checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
|
|
555
|
+
dependencies = [
|
|
556
|
+
"proc-macro2",
|
|
557
|
+
"pyo3-macros-backend",
|
|
558
|
+
"quote",
|
|
559
|
+
"syn",
|
|
560
|
+
]
|
|
561
|
+
|
|
562
|
+
[[package]]
|
|
563
|
+
name = "pyo3-macros-backend"
|
|
564
|
+
version = "0.30.1"
|
|
565
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
566
|
+
checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
|
|
567
|
+
dependencies = [
|
|
568
|
+
"heck",
|
|
569
|
+
"proc-macro2",
|
|
570
|
+
"quote",
|
|
571
|
+
"syn",
|
|
572
|
+
]
|
|
573
|
+
|
|
574
|
+
[[package]]
|
|
575
|
+
name = "quote"
|
|
576
|
+
version = "1.0.47"
|
|
577
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
578
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
579
|
+
dependencies = [
|
|
580
|
+
"proc-macro2",
|
|
581
|
+
]
|
|
582
|
+
|
|
583
|
+
[[package]]
|
|
584
|
+
name = "rayon"
|
|
585
|
+
version = "1.12.0"
|
|
586
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
587
|
+
checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
|
|
588
|
+
dependencies = [
|
|
589
|
+
"either",
|
|
590
|
+
"rayon-core",
|
|
591
|
+
]
|
|
592
|
+
|
|
593
|
+
[[package]]
|
|
594
|
+
name = "rayon-core"
|
|
595
|
+
version = "1.13.0"
|
|
596
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
597
|
+
checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
|
|
598
|
+
dependencies = [
|
|
599
|
+
"crossbeam-deque",
|
|
600
|
+
"crossbeam-utils",
|
|
601
|
+
]
|
|
602
|
+
|
|
603
|
+
[[package]]
|
|
604
|
+
name = "rustc-hash"
|
|
605
|
+
version = "2.1.3"
|
|
606
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
607
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
608
|
+
|
|
609
|
+
[[package]]
|
|
610
|
+
name = "semver"
|
|
611
|
+
version = "1.0.28"
|
|
612
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
613
|
+
checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
|
|
614
|
+
|
|
615
|
+
[[package]]
|
|
616
|
+
name = "simd-adler32"
|
|
617
|
+
version = "0.3.10"
|
|
618
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
619
|
+
checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
|
|
620
|
+
|
|
621
|
+
[[package]]
|
|
622
|
+
name = "slab"
|
|
623
|
+
version = "0.4.12"
|
|
624
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
625
|
+
checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
626
|
+
|
|
627
|
+
[[package]]
|
|
628
|
+
name = "syn"
|
|
629
|
+
version = "3.0.10"
|
|
630
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
631
|
+
checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
|
|
632
|
+
dependencies = [
|
|
633
|
+
"proc-macro2",
|
|
634
|
+
"quote",
|
|
635
|
+
"unicode-ident",
|
|
636
|
+
]
|
|
637
|
+
|
|
638
|
+
[[package]]
|
|
639
|
+
name = "target-lexicon"
|
|
640
|
+
version = "0.13.6"
|
|
641
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
642
|
+
checksum = "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
|
|
643
|
+
|
|
644
|
+
[[package]]
|
|
645
|
+
name = "unicode-ident"
|
|
646
|
+
version = "1.0.27"
|
|
647
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
648
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
649
|
+
|
|
650
|
+
[[package]]
|
|
651
|
+
name = "unicode-segmentation"
|
|
652
|
+
version = "1.13.3"
|
|
653
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
654
|
+
checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
|
|
655
|
+
|
|
656
|
+
[[package]]
|
|
657
|
+
name = "windows-link"
|
|
658
|
+
version = "0.2.1"
|
|
659
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
660
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
661
|
+
|
|
662
|
+
[[package]]
|
|
663
|
+
name = "zlib-rs"
|
|
664
|
+
version = "0.6.9"
|
|
665
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
666
|
+
checksum = "aa76918995d776d9dd34d371030be228d021137449771493d56e29f77e4148ac"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
resolver = "3"
|
|
3
|
+
members = ["bindings/python/anyformat", "crates/*"]
|
|
4
|
+
|
|
5
|
+
[workspace.package]
|
|
6
|
+
edition = "2024"
|
|
7
|
+
license = "Apache-2.0"
|
|
8
|
+
repository = "https://github.com/swc-project/anyformat"
|
|
9
|
+
rust-version = "1.88"
|
|
10
|
+
version = "0.2.0"
|
|
11
|
+
|
|
12
|
+
[workspace.dependencies]
|
|
13
|
+
anyformat = { path = "crates/anyformat" }
|
|
14
|
+
anyformat_image = { path = "crates/anyformat_image" }
|
|
15
|
+
|
|
16
|
+
crc32fast = "1.4"
|
|
17
|
+
flate2 = { version = "1.1", default-features = false, features = ["zlib-rs"] }
|
|
18
|
+
napi = { version = "3.16.3", default-features = false, features = ["napi4"] }
|
|
19
|
+
napi-build = "2.7.0"
|
|
20
|
+
napi-derive = "3.7.2"
|
|
21
|
+
png = "0.18"
|
|
22
|
+
pyo3 = { version = "0.30.1", features = ["abi3-py310"] }
|
|
23
|
+
pyo3-build-config = "0.30.1"
|
|
24
|
+
rayon = "1.11"
|
|
25
|
+
|
|
26
|
+
[profile.release]
|
|
27
|
+
codegen-units = 1
|
|
28
|
+
lto = true
|
|
29
|
+
strip = "symbols"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: anyformat-core
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Classifier: Programming Language :: Python :: 3
|
|
5
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
|
+
Classifier: Programming Language :: Rust
|
|
7
|
+
Summary: Detects the format of any file that anyformat supports, for Python
|
|
8
|
+
License-Expression: Apache-2.0
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
|
+
Project-URL: Repository, https://github.com/swc-project/anyformat
|