tensorcodec-av 0.3.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.
@@ -0,0 +1,482 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "aho-corasick"
7
+ version = "1.1.5"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "autocfg"
16
+ version = "1.5.1"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
19
+
20
+ [[package]]
21
+ name = "bindgen"
22
+ version = "0.72.1"
23
+ source = "registry+https://github.com/rust-lang/crates.io-index"
24
+ checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
25
+ dependencies = [
26
+ "bitflags",
27
+ "cexpr",
28
+ "clang-sys",
29
+ "itertools",
30
+ "proc-macro2",
31
+ "quote",
32
+ "regex",
33
+ "rustc-hash",
34
+ "shlex 1.3.0",
35
+ "syn",
36
+ ]
37
+
38
+ [[package]]
39
+ name = "bitflags"
40
+ version = "2.13.2"
41
+ source = "registry+https://github.com/rust-lang/crates.io-index"
42
+ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
43
+
44
+ [[package]]
45
+ name = "cc"
46
+ version = "1.5.1"
47
+ source = "registry+https://github.com/rust-lang/crates.io-index"
48
+ checksum = "f360145194ee8e21db5ee7f3fcd4fe52210864c75c985dae33218202c8bbe040"
49
+ dependencies = [
50
+ "find-msvc-tools",
51
+ "shlex 2.0.1",
52
+ ]
53
+
54
+ [[package]]
55
+ name = "cexpr"
56
+ version = "0.6.0"
57
+ source = "registry+https://github.com/rust-lang/crates.io-index"
58
+ checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
59
+ dependencies = [
60
+ "nom",
61
+ ]
62
+
63
+ [[package]]
64
+ name = "cfg-if"
65
+ version = "1.0.5"
66
+ source = "registry+https://github.com/rust-lang/crates.io-index"
67
+ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
68
+
69
+ [[package]]
70
+ name = "clang-sys"
71
+ version = "1.9.1"
72
+ source = "registry+https://github.com/rust-lang/crates.io-index"
73
+ checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a"
74
+ dependencies = [
75
+ "glob",
76
+ "libc",
77
+ "libloading",
78
+ ]
79
+
80
+ [[package]]
81
+ name = "either"
82
+ version = "1.18.0"
83
+ source = "registry+https://github.com/rust-lang/crates.io-index"
84
+ checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34"
85
+
86
+ [[package]]
87
+ name = "ffmpeg-sys-next"
88
+ version = "9.0.0"
89
+ source = "registry+https://github.com/rust-lang/crates.io-index"
90
+ checksum = "9b939bf79dd5949412a4b81cfe21a07f48ea21b47fcbb5f57816c8c2de5ae30b"
91
+ dependencies = [
92
+ "bindgen",
93
+ "cc",
94
+ "libc",
95
+ "num_cpus",
96
+ "pkg-config",
97
+ "vcpkg",
98
+ ]
99
+
100
+ [[package]]
101
+ name = "find-msvc-tools"
102
+ version = "0.1.14"
103
+ source = "registry+https://github.com/rust-lang/crates.io-index"
104
+ checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484"
105
+
106
+ [[package]]
107
+ name = "glob"
108
+ version = "0.3.4"
109
+ source = "registry+https://github.com/rust-lang/crates.io-index"
110
+ checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
111
+
112
+ [[package]]
113
+ name = "heck"
114
+ version = "0.5.0"
115
+ source = "registry+https://github.com/rust-lang/crates.io-index"
116
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
117
+
118
+ [[package]]
119
+ name = "hermit-abi"
120
+ version = "0.5.3"
121
+ source = "registry+https://github.com/rust-lang/crates.io-index"
122
+ checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284"
123
+
124
+ [[package]]
125
+ name = "indoc"
126
+ version = "2.0.7"
127
+ source = "registry+https://github.com/rust-lang/crates.io-index"
128
+ checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
129
+ dependencies = [
130
+ "rustversion",
131
+ ]
132
+
133
+ [[package]]
134
+ name = "itertools"
135
+ version = "0.13.0"
136
+ source = "registry+https://github.com/rust-lang/crates.io-index"
137
+ checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
138
+ dependencies = [
139
+ "either",
140
+ ]
141
+
142
+ [[package]]
143
+ name = "libc"
144
+ version = "0.2.189"
145
+ source = "registry+https://github.com/rust-lang/crates.io-index"
146
+ checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
147
+
148
+ [[package]]
149
+ name = "libloading"
150
+ version = "0.8.9"
151
+ source = "registry+https://github.com/rust-lang/crates.io-index"
152
+ checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
153
+ dependencies = [
154
+ "cfg-if",
155
+ "windows-link",
156
+ ]
157
+
158
+ [[package]]
159
+ name = "matrixmultiply"
160
+ version = "0.3.11"
161
+ source = "registry+https://github.com/rust-lang/crates.io-index"
162
+ checksum = "3f607c237553f086e7043417a51df26b2eb899d3caff94e6a67592ff992fedc7"
163
+ dependencies = [
164
+ "autocfg",
165
+ "rawpointer",
166
+ ]
167
+
168
+ [[package]]
169
+ name = "memchr"
170
+ version = "2.8.3"
171
+ source = "registry+https://github.com/rust-lang/crates.io-index"
172
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
173
+
174
+ [[package]]
175
+ name = "memoffset"
176
+ version = "0.9.1"
177
+ source = "registry+https://github.com/rust-lang/crates.io-index"
178
+ checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
179
+ dependencies = [
180
+ "autocfg",
181
+ ]
182
+
183
+ [[package]]
184
+ name = "minimal-lexical"
185
+ version = "0.2.1"
186
+ source = "registry+https://github.com/rust-lang/crates.io-index"
187
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
188
+
189
+ [[package]]
190
+ name = "ndarray"
191
+ version = "0.16.1"
192
+ source = "registry+https://github.com/rust-lang/crates.io-index"
193
+ checksum = "882ed72dce9365842bf196bdeedf5055305f11fc8c03dee7bb0194a6cad34841"
194
+ dependencies = [
195
+ "matrixmultiply",
196
+ "num-complex",
197
+ "num-integer",
198
+ "num-traits",
199
+ "portable-atomic",
200
+ "portable-atomic-util",
201
+ "rawpointer",
202
+ ]
203
+
204
+ [[package]]
205
+ name = "nom"
206
+ version = "7.1.3"
207
+ source = "registry+https://github.com/rust-lang/crates.io-index"
208
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
209
+ dependencies = [
210
+ "memchr",
211
+ "minimal-lexical",
212
+ ]
213
+
214
+ [[package]]
215
+ name = "num-complex"
216
+ version = "0.4.6"
217
+ source = "registry+https://github.com/rust-lang/crates.io-index"
218
+ checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
219
+ dependencies = [
220
+ "num-traits",
221
+ ]
222
+
223
+ [[package]]
224
+ name = "num-integer"
225
+ version = "0.1.47"
226
+ source = "registry+https://github.com/rust-lang/crates.io-index"
227
+ checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
228
+ dependencies = [
229
+ "num-traits",
230
+ ]
231
+
232
+ [[package]]
233
+ name = "num-traits"
234
+ version = "0.2.19"
235
+ source = "registry+https://github.com/rust-lang/crates.io-index"
236
+ checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
237
+ dependencies = [
238
+ "autocfg",
239
+ ]
240
+
241
+ [[package]]
242
+ name = "num_cpus"
243
+ version = "1.17.0"
244
+ source = "registry+https://github.com/rust-lang/crates.io-index"
245
+ checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b"
246
+ dependencies = [
247
+ "hermit-abi",
248
+ "libc",
249
+ ]
250
+
251
+ [[package]]
252
+ name = "numpy"
253
+ version = "0.23.0"
254
+ source = "registry+https://github.com/rust-lang/crates.io-index"
255
+ checksum = "b94caae805f998a07d33af06e6a3891e38556051b8045c615470a71590e13e78"
256
+ dependencies = [
257
+ "libc",
258
+ "ndarray",
259
+ "num-complex",
260
+ "num-integer",
261
+ "num-traits",
262
+ "pyo3",
263
+ "rustc-hash",
264
+ ]
265
+
266
+ [[package]]
267
+ name = "once_cell"
268
+ version = "1.21.4"
269
+ source = "registry+https://github.com/rust-lang/crates.io-index"
270
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
271
+
272
+ [[package]]
273
+ name = "pkg-config"
274
+ version = "0.3.34"
275
+ source = "registry+https://github.com/rust-lang/crates.io-index"
276
+ checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
277
+
278
+ [[package]]
279
+ name = "portable-atomic"
280
+ version = "1.15.0"
281
+ source = "registry+https://github.com/rust-lang/crates.io-index"
282
+ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
283
+
284
+ [[package]]
285
+ name = "portable-atomic-util"
286
+ version = "0.2.8"
287
+ source = "registry+https://github.com/rust-lang/crates.io-index"
288
+ checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715"
289
+ dependencies = [
290
+ "portable-atomic",
291
+ ]
292
+
293
+ [[package]]
294
+ name = "proc-macro2"
295
+ version = "1.0.107"
296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
297
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
298
+ dependencies = [
299
+ "unicode-ident",
300
+ ]
301
+
302
+ [[package]]
303
+ name = "pyo3"
304
+ version = "0.23.5"
305
+ source = "registry+https://github.com/rust-lang/crates.io-index"
306
+ checksum = "7778bffd85cf38175ac1f545509665d0b9b92a198ca7941f131f85f7a4f9a872"
307
+ dependencies = [
308
+ "cfg-if",
309
+ "indoc",
310
+ "libc",
311
+ "memoffset",
312
+ "once_cell",
313
+ "portable-atomic",
314
+ "pyo3-build-config",
315
+ "pyo3-ffi",
316
+ "pyo3-macros",
317
+ "unindent",
318
+ ]
319
+
320
+ [[package]]
321
+ name = "pyo3-build-config"
322
+ version = "0.23.5"
323
+ source = "registry+https://github.com/rust-lang/crates.io-index"
324
+ checksum = "94f6cbe86ef3bf18998d9df6e0f3fc1050a8c5efa409bf712e661a4366e010fb"
325
+ dependencies = [
326
+ "once_cell",
327
+ "target-lexicon",
328
+ ]
329
+
330
+ [[package]]
331
+ name = "pyo3-ffi"
332
+ version = "0.23.5"
333
+ source = "registry+https://github.com/rust-lang/crates.io-index"
334
+ checksum = "e9f1b4c431c0bb1c8fb0a338709859eed0d030ff6daa34368d3b152a63dfdd8d"
335
+ dependencies = [
336
+ "libc",
337
+ "pyo3-build-config",
338
+ ]
339
+
340
+ [[package]]
341
+ name = "pyo3-macros"
342
+ version = "0.23.5"
343
+ source = "registry+https://github.com/rust-lang/crates.io-index"
344
+ checksum = "fbc2201328f63c4710f68abdf653c89d8dbc2858b88c5d88b0ff38a75288a9da"
345
+ dependencies = [
346
+ "proc-macro2",
347
+ "pyo3-macros-backend",
348
+ "quote",
349
+ "syn",
350
+ ]
351
+
352
+ [[package]]
353
+ name = "pyo3-macros-backend"
354
+ version = "0.23.5"
355
+ source = "registry+https://github.com/rust-lang/crates.io-index"
356
+ checksum = "fca6726ad0f3da9c9de093d6f116a93c1a38e417ed73bf138472cf4064f72028"
357
+ dependencies = [
358
+ "heck",
359
+ "proc-macro2",
360
+ "pyo3-build-config",
361
+ "quote",
362
+ "syn",
363
+ ]
364
+
365
+ [[package]]
366
+ name = "quote"
367
+ version = "1.0.47"
368
+ source = "registry+https://github.com/rust-lang/crates.io-index"
369
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
370
+ dependencies = [
371
+ "proc-macro2",
372
+ ]
373
+
374
+ [[package]]
375
+ name = "rawpointer"
376
+ version = "0.2.1"
377
+ source = "registry+https://github.com/rust-lang/crates.io-index"
378
+ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
379
+
380
+ [[package]]
381
+ name = "regex"
382
+ version = "1.13.1"
383
+ source = "registry+https://github.com/rust-lang/crates.io-index"
384
+ checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
385
+ dependencies = [
386
+ "aho-corasick",
387
+ "memchr",
388
+ "regex-automata",
389
+ "regex-syntax",
390
+ ]
391
+
392
+ [[package]]
393
+ name = "regex-automata"
394
+ version = "0.4.18"
395
+ source = "registry+https://github.com/rust-lang/crates.io-index"
396
+ checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
397
+ dependencies = [
398
+ "aho-corasick",
399
+ "memchr",
400
+ "regex-syntax",
401
+ ]
402
+
403
+ [[package]]
404
+ name = "regex-syntax"
405
+ version = "0.8.11"
406
+ source = "registry+https://github.com/rust-lang/crates.io-index"
407
+ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
408
+
409
+ [[package]]
410
+ name = "rustc-hash"
411
+ version = "2.1.3"
412
+ source = "registry+https://github.com/rust-lang/crates.io-index"
413
+ checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
414
+
415
+ [[package]]
416
+ name = "rustversion"
417
+ version = "1.0.23"
418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
419
+ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
420
+
421
+ [[package]]
422
+ name = "shlex"
423
+ version = "1.3.0"
424
+ source = "registry+https://github.com/rust-lang/crates.io-index"
425
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
426
+
427
+ [[package]]
428
+ name = "shlex"
429
+ version = "2.0.1"
430
+ source = "registry+https://github.com/rust-lang/crates.io-index"
431
+ checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
432
+
433
+ [[package]]
434
+ name = "syn"
435
+ version = "2.0.119"
436
+ source = "registry+https://github.com/rust-lang/crates.io-index"
437
+ checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
438
+ dependencies = [
439
+ "proc-macro2",
440
+ "quote",
441
+ "unicode-ident",
442
+ ]
443
+
444
+ [[package]]
445
+ name = "target-lexicon"
446
+ version = "0.12.16"
447
+ source = "registry+https://github.com/rust-lang/crates.io-index"
448
+ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
449
+
450
+ [[package]]
451
+ name = "tensorcodec-av"
452
+ version = "0.3.0"
453
+ dependencies = [
454
+ "ffmpeg-sys-next",
455
+ "libc",
456
+ "numpy",
457
+ "pyo3",
458
+ ]
459
+
460
+ [[package]]
461
+ name = "unicode-ident"
462
+ version = "1.0.26"
463
+ source = "registry+https://github.com/rust-lang/crates.io-index"
464
+ checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954"
465
+
466
+ [[package]]
467
+ name = "unindent"
468
+ version = "0.2.4"
469
+ source = "registry+https://github.com/rust-lang/crates.io-index"
470
+ checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
471
+
472
+ [[package]]
473
+ name = "vcpkg"
474
+ version = "0.2.15"
475
+ source = "registry+https://github.com/rust-lang/crates.io-index"
476
+ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
477
+
478
+ [[package]]
479
+ name = "windows-link"
480
+ version = "0.2.1"
481
+ source = "registry+https://github.com/rust-lang/crates.io-index"
482
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
@@ -0,0 +1,21 @@
1
+ [package]
2
+ name = "tensorcodec-av"
3
+ version = "0.3.0"
4
+ edition = "2021"
5
+ rust-version = "1.88" # ffmpeg-sys-next 9 builds with let chains
6
+ license = "Apache-2.0"
7
+ readme = "README.md"
8
+
9
+ [lib]
10
+ name = "_av"
11
+ crate-type = ["cdylib"]
12
+
13
+ [dependencies]
14
+ libc = "0.2"
15
+ pyo3 = { version = "0.23", features = ["abi3-py310"] }
16
+ numpy = "0.23"
17
+ ffmpeg-sys-next = { version = "9.0", default-features = false, features = ["avcodec", "avformat", "swscale", "swresample"] }
18
+
19
+ [profile.release]
20
+ lto = "thin"
21
+ codegen-units = 1