bencode-rs 0.0.9__cp311-abi3-win_amd64.whl

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.
bencode_rs/__init__.py ADDED
@@ -0,0 +1,8 @@
1
+ from ._bencode import bencode, BencodeEncodeError, bdecode, BencodeDecodeError
2
+
3
+ __all__ = [
4
+ "bencode",
5
+ "BencodeEncodeError",
6
+ "bdecode",
7
+ "BencodeDecodeError",
8
+ ]
@@ -0,0 +1,7 @@
1
+ from typing import Any
2
+
3
+ def bencode(v: Any, /) -> bytes: ...
4
+ def bdecode(b: bytes, /) -> Any: ...
5
+
6
+ class BencodeEncodeError(Exception): ...
7
+ class BencodeDecodeError(Exception): ...
Binary file
bencode_rs/py.typed ADDED
File without changes
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.4
2
+ Name: bencode-rs
3
+ Version: 0.0.9
4
+ Classifier: Development Status :: 2 - Pre-Alpha
5
+ Classifier: License :: OSI Approved :: MIT License
6
+ Classifier: Programming Language :: Rust
7
+ Classifier: Programming Language :: Python
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3 :: Only
10
+ Classifier: Programming Language :: Python :: 3.10
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Classifier: Programming Language :: Python :: 3.14
15
+ Classifier: Programming Language :: Python :: Implementation :: CPython
16
+ License-File: LICENSE
17
+ Summary: a bencode parser build with pyo3
18
+ Keywords: bittorrent,bencode,p2p
19
+ Requires-Python: >=3.10
20
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
21
+ Project-URL: Homepage, https://github.com/trim21/bencode-rs
22
+
23
+ # A bencode serialize/deserialize library written in Rust with pyo3
24
+
25
+ ## install
26
+
27
+ ```shell
28
+ pip install bencode-rs
29
+ ```
30
+
31
+ ## basic usage
32
+
33
+ ```python
34
+ import bencode_rs
35
+
36
+ assert bencode_rs.bdecode(b"d4:spaml1:a1:bee") == {b"spam": [b"a", b"b"]}
37
+
38
+ assert bencode_rs.bencode({'hello': 'world'}) == b'd5:hello5:worlde'
39
+ ```
40
+
41
+ ## Notice
42
+
43
+ ### decoding
44
+ there is no str/string in bencode, only bytes.
45
+ so we decode bencode bytes to python bytes, since it may not be a utf8 string.
46
+
47
+ ### encoding
48
+ we encode python `True` as int `1` and `False` as int 0.
49
+
@@ -0,0 +1,9 @@
1
+ bencode_rs/__init__.py,sha256=Sge6chRy15JpbMOydCgaJabCo2mccBAcHUZikrKN9zg,184
2
+ bencode_rs/__init__.pyi,sha256=MR70Kr_exFQ8aV7njCzXNdOW6tlv9znvd8tvNuzpp50,188
3
+ bencode_rs/_bencode.pyd,sha256=0A2ZqRiiv_uL4Yk6dkd6XInZdZWS1vCS0T1OoPQzpUw,267264
4
+ bencode_rs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ bencode_rs-0.0.9.dist-info/METADATA,sha256=h6_hS0DeDt1P-5GZ1UOUulodZ0SYZ7cHKpl4byVHyJo,1478
6
+ bencode_rs-0.0.9.dist-info/WHEEL,sha256=my2Zv3aAEw0zwgC3x4DGMoa4_EjQnFJqG8OdzV1DTxg,96
7
+ bencode_rs-0.0.9.dist-info/licenses/LICENSE,sha256=EEoYi1hvWZLRB6rUABEsjEdCJ56eZs_20XL8mJO-SfA,1106
8
+ bencode_rs-0.0.9.dist-info/sboms/bencode.cyclonedx.json,sha256=Ji6zx9U0OUU4QOxKUnbJTggh8UM2A0-C1F-KiY1byws,33046
9
+ bencode_rs-0.0.9.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.12.6)
3
+ Root-Is-Purelib: false
4
+ Tag: cp311-abi3-win_amd64
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 trim21 <trim21.me@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,1075 @@
1
+ {
2
+ "bomFormat": "CycloneDX",
3
+ "specVersion": "1.5",
4
+ "version": 1,
5
+ "serialNumber": "urn:uuid:b95eb4ba-bca5-4213-8c75-b45e0311fa2f",
6
+ "metadata": {
7
+ "timestamp": "2026-04-20T14:03:46.652772600Z",
8
+ "tools": [
9
+ {
10
+ "vendor": "CycloneDX",
11
+ "name": "cargo-cyclonedx",
12
+ "version": "0.5.7"
13
+ }
14
+ ],
15
+ "component": {
16
+ "type": "library",
17
+ "bom-ref": "path+file:///D:/a/bencode-rs/bencode-rs#bencode@0.0.0",
18
+ "name": "bencode",
19
+ "version": "0.0.0",
20
+ "scope": "required",
21
+ "purl": "pkg:cargo/bencode@0.0.0?download_url=file://.",
22
+ "components": [
23
+ {
24
+ "type": "library",
25
+ "bom-ref": "path+file:///D:/a/bencode-rs/bencode-rs#bencode@0.0.0 bin-target-0",
26
+ "name": "bencode",
27
+ "version": "0.0.0",
28
+ "purl": "pkg:cargo/bencode@0.0.0?download_url=file://.#src/lib.rs"
29
+ }
30
+ ]
31
+ },
32
+ "properties": [
33
+ {
34
+ "name": "cdx:rustc:sbom:target:all_targets",
35
+ "value": "true"
36
+ }
37
+ ]
38
+ },
39
+ "components": [
40
+ {
41
+ "type": "library",
42
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#autocfg@1.5.0",
43
+ "author": "Josh Stone <cuviper@gmail.com>",
44
+ "name": "autocfg",
45
+ "version": "1.5.0",
46
+ "description": "Automatic cfg for Rust compiler features",
47
+ "scope": "excluded",
48
+ "hashes": [
49
+ {
50
+ "alg": "SHA-256",
51
+ "content": "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
52
+ }
53
+ ],
54
+ "licenses": [
55
+ {
56
+ "expression": "Apache-2.0 OR MIT"
57
+ }
58
+ ],
59
+ "purl": "pkg:cargo/autocfg@1.5.0",
60
+ "externalReferences": [
61
+ {
62
+ "type": "documentation",
63
+ "url": "https://docs.rs/autocfg/"
64
+ },
65
+ {
66
+ "type": "vcs",
67
+ "url": "https://github.com/cuviper/autocfg"
68
+ }
69
+ ]
70
+ },
71
+ {
72
+ "type": "library",
73
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#bytes@1.11.1",
74
+ "author": "Carl Lerche <me@carllerche.com>, Sean McArthur <sean@seanmonstar.com>",
75
+ "name": "bytes",
76
+ "version": "1.11.1",
77
+ "description": "Types and traits for working with bytes",
78
+ "scope": "required",
79
+ "hashes": [
80
+ {
81
+ "alg": "SHA-256",
82
+ "content": "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33"
83
+ }
84
+ ],
85
+ "licenses": [
86
+ {
87
+ "expression": "MIT"
88
+ }
89
+ ],
90
+ "purl": "pkg:cargo/bytes@1.11.1",
91
+ "externalReferences": [
92
+ {
93
+ "type": "vcs",
94
+ "url": "https://github.com/tokio-rs/bytes"
95
+ }
96
+ ]
97
+ },
98
+ {
99
+ "type": "library",
100
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#cc@1.2.60",
101
+ "author": "Alex Crichton <alex@alexcrichton.com>",
102
+ "name": "cc",
103
+ "version": "1.2.60",
104
+ "description": "A build-time dependency for Cargo build scripts to assist in invoking the native C compiler to compile native C code into a static archive to be linked into Rust code. ",
105
+ "scope": "required",
106
+ "hashes": [
107
+ {
108
+ "alg": "SHA-256",
109
+ "content": "43c5703da9466b66a946814e1adf53ea2c90f10063b86290cc9eb67ce3478a20"
110
+ }
111
+ ],
112
+ "licenses": [
113
+ {
114
+ "expression": "MIT OR Apache-2.0"
115
+ }
116
+ ],
117
+ "purl": "pkg:cargo/cc@1.2.60",
118
+ "externalReferences": [
119
+ {
120
+ "type": "documentation",
121
+ "url": "https://docs.rs/cc"
122
+ },
123
+ {
124
+ "type": "website",
125
+ "url": "https://github.com/rust-lang/cc-rs"
126
+ },
127
+ {
128
+ "type": "vcs",
129
+ "url": "https://github.com/rust-lang/cc-rs"
130
+ }
131
+ ]
132
+ },
133
+ {
134
+ "type": "library",
135
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#find-msvc-tools@0.1.9",
136
+ "name": "find-msvc-tools",
137
+ "version": "0.1.9",
138
+ "description": "Find windows-specific tools, read MSVC versions from the registry and from COM interfaces",
139
+ "scope": "required",
140
+ "hashes": [
141
+ {
142
+ "alg": "SHA-256",
143
+ "content": "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
144
+ }
145
+ ],
146
+ "licenses": [
147
+ {
148
+ "expression": "MIT OR Apache-2.0"
149
+ }
150
+ ],
151
+ "purl": "pkg:cargo/find-msvc-tools@0.1.9",
152
+ "externalReferences": [
153
+ {
154
+ "type": "documentation",
155
+ "url": "https://docs.rs/find-msvc-tools"
156
+ },
157
+ {
158
+ "type": "vcs",
159
+ "url": "https://github.com/rust-lang/cc-rs"
160
+ }
161
+ ]
162
+ },
163
+ {
164
+ "type": "library",
165
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#heck@0.5.0",
166
+ "name": "heck",
167
+ "version": "0.5.0",
168
+ "description": "heck is a case conversion library.",
169
+ "scope": "required",
170
+ "hashes": [
171
+ {
172
+ "alg": "SHA-256",
173
+ "content": "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
174
+ }
175
+ ],
176
+ "licenses": [
177
+ {
178
+ "expression": "MIT OR Apache-2.0"
179
+ }
180
+ ],
181
+ "purl": "pkg:cargo/heck@0.5.0",
182
+ "externalReferences": [
183
+ {
184
+ "type": "vcs",
185
+ "url": "https://github.com/withoutboats/heck"
186
+ }
187
+ ]
188
+ },
189
+ {
190
+ "type": "library",
191
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#libc@0.2.184",
192
+ "author": "The Rust Project Developers",
193
+ "name": "libc",
194
+ "version": "0.2.184",
195
+ "description": "Raw FFI bindings to platform libraries like libc.",
196
+ "scope": "required",
197
+ "hashes": [
198
+ {
199
+ "alg": "SHA-256",
200
+ "content": "48f5d2a454e16a5ea0f4ced81bd44e4cfc7bd3a507b61887c99fd3538b28e4af"
201
+ }
202
+ ],
203
+ "licenses": [
204
+ {
205
+ "expression": "MIT OR Apache-2.0"
206
+ }
207
+ ],
208
+ "purl": "pkg:cargo/libc@0.2.184",
209
+ "externalReferences": [
210
+ {
211
+ "type": "vcs",
212
+ "url": "https://github.com/rust-lang/libc"
213
+ }
214
+ ]
215
+ },
216
+ {
217
+ "type": "library",
218
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#num-bigint@0.4.6",
219
+ "author": "The Rust Project Developers",
220
+ "name": "num-bigint",
221
+ "version": "0.4.6",
222
+ "description": "Big integer implementation for Rust",
223
+ "scope": "required",
224
+ "hashes": [
225
+ {
226
+ "alg": "SHA-256",
227
+ "content": "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
228
+ }
229
+ ],
230
+ "licenses": [
231
+ {
232
+ "expression": "MIT OR Apache-2.0"
233
+ }
234
+ ],
235
+ "purl": "pkg:cargo/num-bigint@0.4.6",
236
+ "externalReferences": [
237
+ {
238
+ "type": "documentation",
239
+ "url": "https://docs.rs/num-bigint"
240
+ },
241
+ {
242
+ "type": "website",
243
+ "url": "https://github.com/rust-num/num-bigint"
244
+ },
245
+ {
246
+ "type": "vcs",
247
+ "url": "https://github.com/rust-num/num-bigint"
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ "type": "library",
253
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#num-complex@0.4.6",
254
+ "author": "The Rust Project Developers",
255
+ "name": "num-complex",
256
+ "version": "0.4.6",
257
+ "description": "Complex numbers implementation for Rust",
258
+ "scope": "required",
259
+ "hashes": [
260
+ {
261
+ "alg": "SHA-256",
262
+ "content": "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
263
+ }
264
+ ],
265
+ "licenses": [
266
+ {
267
+ "expression": "MIT OR Apache-2.0"
268
+ }
269
+ ],
270
+ "purl": "pkg:cargo/num-complex@0.4.6",
271
+ "externalReferences": [
272
+ {
273
+ "type": "documentation",
274
+ "url": "https://docs.rs/num-complex"
275
+ },
276
+ {
277
+ "type": "website",
278
+ "url": "https://github.com/rust-num/num-complex"
279
+ },
280
+ {
281
+ "type": "vcs",
282
+ "url": "https://github.com/rust-num/num-complex"
283
+ }
284
+ ]
285
+ },
286
+ {
287
+ "type": "library",
288
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#num-integer@0.1.46",
289
+ "author": "The Rust Project Developers",
290
+ "name": "num-integer",
291
+ "version": "0.1.46",
292
+ "description": "Integer traits and functions",
293
+ "scope": "required",
294
+ "hashes": [
295
+ {
296
+ "alg": "SHA-256",
297
+ "content": "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
298
+ }
299
+ ],
300
+ "licenses": [
301
+ {
302
+ "expression": "MIT OR Apache-2.0"
303
+ }
304
+ ],
305
+ "purl": "pkg:cargo/num-integer@0.1.46",
306
+ "externalReferences": [
307
+ {
308
+ "type": "documentation",
309
+ "url": "https://docs.rs/num-integer"
310
+ },
311
+ {
312
+ "type": "website",
313
+ "url": "https://github.com/rust-num/num-integer"
314
+ },
315
+ {
316
+ "type": "vcs",
317
+ "url": "https://github.com/rust-num/num-integer"
318
+ }
319
+ ]
320
+ },
321
+ {
322
+ "type": "library",
323
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#num-iter@0.1.45",
324
+ "author": "The Rust Project Developers",
325
+ "name": "num-iter",
326
+ "version": "0.1.45",
327
+ "description": "External iterators for generic mathematics",
328
+ "scope": "required",
329
+ "hashes": [
330
+ {
331
+ "alg": "SHA-256",
332
+ "content": "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
333
+ }
334
+ ],
335
+ "licenses": [
336
+ {
337
+ "expression": "MIT OR Apache-2.0"
338
+ }
339
+ ],
340
+ "purl": "pkg:cargo/num-iter@0.1.45",
341
+ "externalReferences": [
342
+ {
343
+ "type": "documentation",
344
+ "url": "https://docs.rs/num-iter"
345
+ },
346
+ {
347
+ "type": "website",
348
+ "url": "https://github.com/rust-num/num-iter"
349
+ },
350
+ {
351
+ "type": "vcs",
352
+ "url": "https://github.com/rust-num/num-iter"
353
+ }
354
+ ]
355
+ },
356
+ {
357
+ "type": "library",
358
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#num-rational@0.4.2",
359
+ "author": "The Rust Project Developers",
360
+ "name": "num-rational",
361
+ "version": "0.4.2",
362
+ "description": "Rational numbers implementation for Rust",
363
+ "scope": "required",
364
+ "hashes": [
365
+ {
366
+ "alg": "SHA-256",
367
+ "content": "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
368
+ }
369
+ ],
370
+ "licenses": [
371
+ {
372
+ "expression": "MIT OR Apache-2.0"
373
+ }
374
+ ],
375
+ "purl": "pkg:cargo/num-rational@0.4.2",
376
+ "externalReferences": [
377
+ {
378
+ "type": "documentation",
379
+ "url": "https://docs.rs/num-rational"
380
+ },
381
+ {
382
+ "type": "website",
383
+ "url": "https://github.com/rust-num/num-rational"
384
+ },
385
+ {
386
+ "type": "vcs",
387
+ "url": "https://github.com/rust-num/num-rational"
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ "type": "library",
393
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#num-traits@0.2.19",
394
+ "author": "The Rust Project Developers",
395
+ "name": "num-traits",
396
+ "version": "0.2.19",
397
+ "description": "Numeric traits for generic mathematics",
398
+ "scope": "required",
399
+ "hashes": [
400
+ {
401
+ "alg": "SHA-256",
402
+ "content": "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
403
+ }
404
+ ],
405
+ "licenses": [
406
+ {
407
+ "expression": "MIT OR Apache-2.0"
408
+ }
409
+ ],
410
+ "purl": "pkg:cargo/num-traits@0.2.19",
411
+ "externalReferences": [
412
+ {
413
+ "type": "documentation",
414
+ "url": "https://docs.rs/num-traits"
415
+ },
416
+ {
417
+ "type": "website",
418
+ "url": "https://github.com/rust-num/num-traits"
419
+ },
420
+ {
421
+ "type": "vcs",
422
+ "url": "https://github.com/rust-num/num-traits"
423
+ }
424
+ ]
425
+ },
426
+ {
427
+ "type": "library",
428
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#num@0.4.3",
429
+ "author": "The Rust Project Developers",
430
+ "name": "num",
431
+ "version": "0.4.3",
432
+ "description": "A collection of numeric types and traits for Rust, including bigint, complex, rational, range iterators, generic integers, and more! ",
433
+ "scope": "required",
434
+ "hashes": [
435
+ {
436
+ "alg": "SHA-256",
437
+ "content": "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23"
438
+ }
439
+ ],
440
+ "licenses": [
441
+ {
442
+ "expression": "MIT OR Apache-2.0"
443
+ }
444
+ ],
445
+ "purl": "pkg:cargo/num@0.4.3",
446
+ "externalReferences": [
447
+ {
448
+ "type": "documentation",
449
+ "url": "https://docs.rs/num"
450
+ },
451
+ {
452
+ "type": "website",
453
+ "url": "https://github.com/rust-num/num"
454
+ },
455
+ {
456
+ "type": "vcs",
457
+ "url": "https://github.com/rust-num/num"
458
+ }
459
+ ]
460
+ },
461
+ {
462
+ "type": "library",
463
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#once_cell@1.21.4",
464
+ "author": "Aleksey Kladov <aleksey.kladov@gmail.com>",
465
+ "name": "once_cell",
466
+ "version": "1.21.4",
467
+ "description": "Single assignment cells and lazy values.",
468
+ "scope": "required",
469
+ "hashes": [
470
+ {
471
+ "alg": "SHA-256",
472
+ "content": "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
473
+ }
474
+ ],
475
+ "licenses": [
476
+ {
477
+ "expression": "MIT OR Apache-2.0"
478
+ }
479
+ ],
480
+ "purl": "pkg:cargo/once_cell@1.21.4",
481
+ "externalReferences": [
482
+ {
483
+ "type": "documentation",
484
+ "url": "https://docs.rs/once_cell"
485
+ },
486
+ {
487
+ "type": "vcs",
488
+ "url": "https://github.com/matklad/once_cell"
489
+ }
490
+ ]
491
+ },
492
+ {
493
+ "type": "library",
494
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.106",
495
+ "author": "David Tolnay <dtolnay@gmail.com>, Alex Crichton <alex@alexcrichton.com>",
496
+ "name": "proc-macro2",
497
+ "version": "1.0.106",
498
+ "description": "A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case.",
499
+ "scope": "required",
500
+ "hashes": [
501
+ {
502
+ "alg": "SHA-256",
503
+ "content": "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
504
+ }
505
+ ],
506
+ "licenses": [
507
+ {
508
+ "expression": "MIT OR Apache-2.0"
509
+ }
510
+ ],
511
+ "purl": "pkg:cargo/proc-macro2@1.0.106",
512
+ "externalReferences": [
513
+ {
514
+ "type": "documentation",
515
+ "url": "https://docs.rs/proc-macro2"
516
+ },
517
+ {
518
+ "type": "vcs",
519
+ "url": "https://github.com/dtolnay/proc-macro2"
520
+ }
521
+ ]
522
+ },
523
+ {
524
+ "type": "library",
525
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.28.3",
526
+ "author": "PyO3 Project and Contributors <https://github.com/PyO3>",
527
+ "name": "pyo3-build-config",
528
+ "version": "0.28.3",
529
+ "description": "Build configuration for the PyO3 ecosystem",
530
+ "scope": "required",
531
+ "hashes": [
532
+ {
533
+ "alg": "SHA-256",
534
+ "content": "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e"
535
+ }
536
+ ],
537
+ "licenses": [
538
+ {
539
+ "expression": "MIT OR Apache-2.0"
540
+ }
541
+ ],
542
+ "purl": "pkg:cargo/pyo3-build-config@0.28.3",
543
+ "externalReferences": [
544
+ {
545
+ "type": "website",
546
+ "url": "https://github.com/pyo3/pyo3"
547
+ },
548
+ {
549
+ "type": "vcs",
550
+ "url": "https://github.com/pyo3/pyo3"
551
+ }
552
+ ]
553
+ },
554
+ {
555
+ "type": "library",
556
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-ffi@0.28.3",
557
+ "author": "PyO3 Project and Contributors <https://github.com/PyO3>",
558
+ "name": "pyo3-ffi",
559
+ "version": "0.28.3",
560
+ "description": "Python-API bindings for the PyO3 ecosystem",
561
+ "scope": "required",
562
+ "hashes": [
563
+ {
564
+ "alg": "SHA-256",
565
+ "content": "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e"
566
+ }
567
+ ],
568
+ "licenses": [
569
+ {
570
+ "expression": "MIT OR Apache-2.0"
571
+ }
572
+ ],
573
+ "purl": "pkg:cargo/pyo3-ffi@0.28.3",
574
+ "externalReferences": [
575
+ {
576
+ "type": "website",
577
+ "url": "https://github.com/pyo3/pyo3"
578
+ },
579
+ {
580
+ "type": "other",
581
+ "url": "python"
582
+ },
583
+ {
584
+ "type": "vcs",
585
+ "url": "https://github.com/pyo3/pyo3"
586
+ }
587
+ ]
588
+ },
589
+ {
590
+ "type": "library",
591
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros-backend@0.28.3",
592
+ "author": "PyO3 Project and Contributors <https://github.com/PyO3>",
593
+ "name": "pyo3-macros-backend",
594
+ "version": "0.28.3",
595
+ "description": "Code generation for PyO3 package",
596
+ "scope": "required",
597
+ "hashes": [
598
+ {
599
+ "alg": "SHA-256",
600
+ "content": "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb"
601
+ }
602
+ ],
603
+ "licenses": [
604
+ {
605
+ "expression": "MIT OR Apache-2.0"
606
+ }
607
+ ],
608
+ "purl": "pkg:cargo/pyo3-macros-backend@0.28.3",
609
+ "externalReferences": [
610
+ {
611
+ "type": "website",
612
+ "url": "https://github.com/pyo3/pyo3"
613
+ },
614
+ {
615
+ "type": "vcs",
616
+ "url": "https://github.com/pyo3/pyo3"
617
+ }
618
+ ]
619
+ },
620
+ {
621
+ "type": "library",
622
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros@0.28.3",
623
+ "author": "PyO3 Project and Contributors <https://github.com/PyO3>",
624
+ "name": "pyo3-macros",
625
+ "version": "0.28.3",
626
+ "description": "Proc macros for PyO3 package",
627
+ "scope": "required",
628
+ "hashes": [
629
+ {
630
+ "alg": "SHA-256",
631
+ "content": "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813"
632
+ }
633
+ ],
634
+ "licenses": [
635
+ {
636
+ "expression": "MIT OR Apache-2.0"
637
+ }
638
+ ],
639
+ "purl": "pkg:cargo/pyo3-macros@0.28.3",
640
+ "externalReferences": [
641
+ {
642
+ "type": "website",
643
+ "url": "https://github.com/pyo3/pyo3"
644
+ },
645
+ {
646
+ "type": "vcs",
647
+ "url": "https://github.com/pyo3/pyo3"
648
+ }
649
+ ]
650
+ },
651
+ {
652
+ "type": "library",
653
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3@0.28.3",
654
+ "author": "PyO3 Project and Contributors <https://github.com/PyO3>",
655
+ "name": "pyo3",
656
+ "version": "0.28.3",
657
+ "description": "Bindings to Python interpreter",
658
+ "scope": "required",
659
+ "hashes": [
660
+ {
661
+ "alg": "SHA-256",
662
+ "content": "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12"
663
+ }
664
+ ],
665
+ "licenses": [
666
+ {
667
+ "expression": "MIT OR Apache-2.0"
668
+ }
669
+ ],
670
+ "purl": "pkg:cargo/pyo3@0.28.3",
671
+ "externalReferences": [
672
+ {
673
+ "type": "documentation",
674
+ "url": "https://docs.rs/crate/pyo3/"
675
+ },
676
+ {
677
+ "type": "website",
678
+ "url": "https://github.com/pyo3/pyo3"
679
+ },
680
+ {
681
+ "type": "vcs",
682
+ "url": "https://github.com/pyo3/pyo3"
683
+ }
684
+ ]
685
+ },
686
+ {
687
+ "type": "library",
688
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#python3-dll-a@0.2.15",
689
+ "author": "Sergey Kvachonok <ravenexp@gmail.com>, messense <messense@icloud.com>, Adam Reichold <adam.reichold@t-online.de>",
690
+ "name": "python3-dll-a",
691
+ "version": "0.2.15",
692
+ "description": "Standalone python3(y)(t).dll import library generator",
693
+ "scope": "required",
694
+ "hashes": [
695
+ {
696
+ "alg": "SHA-256",
697
+ "content": "d80ba7540edb18890d444c5aa8e1f1f99b1bdf26fb26ae383135325f4a36042b"
698
+ }
699
+ ],
700
+ "licenses": [
701
+ {
702
+ "expression": "MIT"
703
+ }
704
+ ],
705
+ "purl": "pkg:cargo/python3-dll-a@0.2.15",
706
+ "externalReferences": [
707
+ {
708
+ "type": "vcs",
709
+ "url": "https://github.com/PyO3/python3-dll-a"
710
+ }
711
+ ]
712
+ },
713
+ {
714
+ "type": "library",
715
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.45",
716
+ "author": "David Tolnay <dtolnay@gmail.com>",
717
+ "name": "quote",
718
+ "version": "1.0.45",
719
+ "description": "Quasi-quoting macro quote!(...)",
720
+ "scope": "required",
721
+ "hashes": [
722
+ {
723
+ "alg": "SHA-256",
724
+ "content": "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
725
+ }
726
+ ],
727
+ "licenses": [
728
+ {
729
+ "expression": "MIT OR Apache-2.0"
730
+ }
731
+ ],
732
+ "purl": "pkg:cargo/quote@1.0.45",
733
+ "externalReferences": [
734
+ {
735
+ "type": "documentation",
736
+ "url": "https://docs.rs/quote/"
737
+ },
738
+ {
739
+ "type": "vcs",
740
+ "url": "https://github.com/dtolnay/quote"
741
+ }
742
+ ]
743
+ },
744
+ {
745
+ "type": "library",
746
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#shlex@1.3.0",
747
+ "author": "comex <comexk@gmail.com>, Fenhl <fenhl@fenhl.net>, Adrian Taylor <adetaylor@chromium.org>, Alex Touchet <alextouchet@outlook.com>, Daniel Parks <dp+git@oxidized.org>, Garrett Berg <googberg@gmail.com>",
748
+ "name": "shlex",
749
+ "version": "1.3.0",
750
+ "description": "Split a string into shell words, like Python's shlex.",
751
+ "scope": "required",
752
+ "hashes": [
753
+ {
754
+ "alg": "SHA-256",
755
+ "content": "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
756
+ }
757
+ ],
758
+ "licenses": [
759
+ {
760
+ "expression": "MIT OR Apache-2.0"
761
+ }
762
+ ],
763
+ "purl": "pkg:cargo/shlex@1.3.0",
764
+ "externalReferences": [
765
+ {
766
+ "type": "vcs",
767
+ "url": "https://github.com/comex/rust-shlex"
768
+ }
769
+ ]
770
+ },
771
+ {
772
+ "type": "library",
773
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#smallvec@1.15.1",
774
+ "author": "The Servo Project Developers",
775
+ "name": "smallvec",
776
+ "version": "1.15.1",
777
+ "description": "'Small vector' optimization: store up to a small number of items on the stack",
778
+ "scope": "required",
779
+ "hashes": [
780
+ {
781
+ "alg": "SHA-256",
782
+ "content": "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
783
+ }
784
+ ],
785
+ "licenses": [
786
+ {
787
+ "expression": "MIT OR Apache-2.0"
788
+ }
789
+ ],
790
+ "purl": "pkg:cargo/smallvec@1.15.1",
791
+ "externalReferences": [
792
+ {
793
+ "type": "documentation",
794
+ "url": "https://docs.rs/smallvec/"
795
+ },
796
+ {
797
+ "type": "vcs",
798
+ "url": "https://github.com/servo/rust-smallvec"
799
+ }
800
+ ]
801
+ },
802
+ {
803
+ "type": "library",
804
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#syn@2.0.117",
805
+ "author": "David Tolnay <dtolnay@gmail.com>",
806
+ "name": "syn",
807
+ "version": "2.0.117",
808
+ "description": "Parser for Rust source code",
809
+ "scope": "required",
810
+ "hashes": [
811
+ {
812
+ "alg": "SHA-256",
813
+ "content": "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
814
+ }
815
+ ],
816
+ "licenses": [
817
+ {
818
+ "expression": "MIT OR Apache-2.0"
819
+ }
820
+ ],
821
+ "purl": "pkg:cargo/syn@2.0.117",
822
+ "externalReferences": [
823
+ {
824
+ "type": "documentation",
825
+ "url": "https://docs.rs/syn"
826
+ },
827
+ {
828
+ "type": "vcs",
829
+ "url": "https://github.com/dtolnay/syn"
830
+ }
831
+ ]
832
+ },
833
+ {
834
+ "type": "library",
835
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#target-lexicon@0.13.5",
836
+ "author": "Dan Gohman <sunfish@mozilla.com>",
837
+ "name": "target-lexicon",
838
+ "version": "0.13.5",
839
+ "description": "LLVM target triple types",
840
+ "scope": "required",
841
+ "hashes": [
842
+ {
843
+ "alg": "SHA-256",
844
+ "content": "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
845
+ }
846
+ ],
847
+ "licenses": [
848
+ {
849
+ "expression": "Apache-2.0 WITH LLVM-exception"
850
+ }
851
+ ],
852
+ "purl": "pkg:cargo/target-lexicon@0.13.5",
853
+ "externalReferences": [
854
+ {
855
+ "type": "documentation",
856
+ "url": "https://docs.rs/target-lexicon/"
857
+ },
858
+ {
859
+ "type": "vcs",
860
+ "url": "https://github.com/bytecodealliance/target-lexicon"
861
+ }
862
+ ]
863
+ },
864
+ {
865
+ "type": "library",
866
+ "bom-ref": "registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.24",
867
+ "author": "David Tolnay <dtolnay@gmail.com>",
868
+ "name": "unicode-ident",
869
+ "version": "1.0.24",
870
+ "description": "Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31",
871
+ "scope": "required",
872
+ "hashes": [
873
+ {
874
+ "alg": "SHA-256",
875
+ "content": "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
876
+ }
877
+ ],
878
+ "licenses": [
879
+ {
880
+ "expression": "(MIT OR Apache-2.0) AND Unicode-3.0"
881
+ }
882
+ ],
883
+ "purl": "pkg:cargo/unicode-ident@1.0.24",
884
+ "externalReferences": [
885
+ {
886
+ "type": "documentation",
887
+ "url": "https://docs.rs/unicode-ident"
888
+ },
889
+ {
890
+ "type": "vcs",
891
+ "url": "https://github.com/dtolnay/unicode-ident"
892
+ }
893
+ ]
894
+ }
895
+ ],
896
+ "dependencies": [
897
+ {
898
+ "ref": "path+file:///D:/a/bencode-rs/bencode-rs#bencode@0.0.0",
899
+ "dependsOn": [
900
+ "registry+https://github.com/rust-lang/crates.io-index#bytes@1.11.1",
901
+ "registry+https://github.com/rust-lang/crates.io-index#num@0.4.3",
902
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3@0.28.3",
903
+ "registry+https://github.com/rust-lang/crates.io-index#smallvec@1.15.1"
904
+ ]
905
+ },
906
+ {
907
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#autocfg@1.5.0",
908
+ "dependsOn": []
909
+ },
910
+ {
911
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#bytes@1.11.1",
912
+ "dependsOn": []
913
+ },
914
+ {
915
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#cc@1.2.60",
916
+ "dependsOn": [
917
+ "registry+https://github.com/rust-lang/crates.io-index#find-msvc-tools@0.1.9",
918
+ "registry+https://github.com/rust-lang/crates.io-index#shlex@1.3.0"
919
+ ]
920
+ },
921
+ {
922
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#find-msvc-tools@0.1.9",
923
+ "dependsOn": []
924
+ },
925
+ {
926
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#heck@0.5.0",
927
+ "dependsOn": []
928
+ },
929
+ {
930
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#libc@0.2.184",
931
+ "dependsOn": []
932
+ },
933
+ {
934
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#num-bigint@0.4.6",
935
+ "dependsOn": [
936
+ "registry+https://github.com/rust-lang/crates.io-index#num-integer@0.1.46",
937
+ "registry+https://github.com/rust-lang/crates.io-index#num-traits@0.2.19"
938
+ ]
939
+ },
940
+ {
941
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#num-complex@0.4.6",
942
+ "dependsOn": [
943
+ "registry+https://github.com/rust-lang/crates.io-index#num-traits@0.2.19"
944
+ ]
945
+ },
946
+ {
947
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#num-integer@0.1.46",
948
+ "dependsOn": [
949
+ "registry+https://github.com/rust-lang/crates.io-index#num-traits@0.2.19"
950
+ ]
951
+ },
952
+ {
953
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#num-iter@0.1.45",
954
+ "dependsOn": [
955
+ "registry+https://github.com/rust-lang/crates.io-index#autocfg@1.5.0",
956
+ "registry+https://github.com/rust-lang/crates.io-index#num-integer@0.1.46",
957
+ "registry+https://github.com/rust-lang/crates.io-index#num-traits@0.2.19"
958
+ ]
959
+ },
960
+ {
961
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#num-rational@0.4.2",
962
+ "dependsOn": [
963
+ "registry+https://github.com/rust-lang/crates.io-index#num-bigint@0.4.6",
964
+ "registry+https://github.com/rust-lang/crates.io-index#num-integer@0.1.46",
965
+ "registry+https://github.com/rust-lang/crates.io-index#num-traits@0.2.19"
966
+ ]
967
+ },
968
+ {
969
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#num-traits@0.2.19",
970
+ "dependsOn": [
971
+ "registry+https://github.com/rust-lang/crates.io-index#autocfg@1.5.0"
972
+ ]
973
+ },
974
+ {
975
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#num@0.4.3",
976
+ "dependsOn": [
977
+ "registry+https://github.com/rust-lang/crates.io-index#num-bigint@0.4.6",
978
+ "registry+https://github.com/rust-lang/crates.io-index#num-complex@0.4.6",
979
+ "registry+https://github.com/rust-lang/crates.io-index#num-integer@0.1.46",
980
+ "registry+https://github.com/rust-lang/crates.io-index#num-iter@0.1.45",
981
+ "registry+https://github.com/rust-lang/crates.io-index#num-rational@0.4.2",
982
+ "registry+https://github.com/rust-lang/crates.io-index#num-traits@0.2.19"
983
+ ]
984
+ },
985
+ {
986
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#once_cell@1.21.4",
987
+ "dependsOn": []
988
+ },
989
+ {
990
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.106",
991
+ "dependsOn": [
992
+ "registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.24"
993
+ ]
994
+ },
995
+ {
996
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.28.3",
997
+ "dependsOn": [
998
+ "registry+https://github.com/rust-lang/crates.io-index#python3-dll-a@0.2.15",
999
+ "registry+https://github.com/rust-lang/crates.io-index#target-lexicon@0.13.5"
1000
+ ]
1001
+ },
1002
+ {
1003
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-ffi@0.28.3",
1004
+ "dependsOn": [
1005
+ "registry+https://github.com/rust-lang/crates.io-index#libc@0.2.184",
1006
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.28.3"
1007
+ ]
1008
+ },
1009
+ {
1010
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros-backend@0.28.3",
1011
+ "dependsOn": [
1012
+ "registry+https://github.com/rust-lang/crates.io-index#heck@0.5.0",
1013
+ "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.106",
1014
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.28.3",
1015
+ "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.45",
1016
+ "registry+https://github.com/rust-lang/crates.io-index#syn@2.0.117"
1017
+ ]
1018
+ },
1019
+ {
1020
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros@0.28.3",
1021
+ "dependsOn": [
1022
+ "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.106",
1023
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros-backend@0.28.3",
1024
+ "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.45",
1025
+ "registry+https://github.com/rust-lang/crates.io-index#syn@2.0.117"
1026
+ ]
1027
+ },
1028
+ {
1029
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3@0.28.3",
1030
+ "dependsOn": [
1031
+ "registry+https://github.com/rust-lang/crates.io-index#libc@0.2.184",
1032
+ "registry+https://github.com/rust-lang/crates.io-index#once_cell@1.21.4",
1033
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.28.3",
1034
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3-ffi@0.28.3",
1035
+ "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros@0.28.3"
1036
+ ]
1037
+ },
1038
+ {
1039
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#python3-dll-a@0.2.15",
1040
+ "dependsOn": [
1041
+ "registry+https://github.com/rust-lang/crates.io-index#cc@1.2.60"
1042
+ ]
1043
+ },
1044
+ {
1045
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.45",
1046
+ "dependsOn": [
1047
+ "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.106"
1048
+ ]
1049
+ },
1050
+ {
1051
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#shlex@1.3.0",
1052
+ "dependsOn": []
1053
+ },
1054
+ {
1055
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#smallvec@1.15.1",
1056
+ "dependsOn": []
1057
+ },
1058
+ {
1059
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#syn@2.0.117",
1060
+ "dependsOn": [
1061
+ "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.106",
1062
+ "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.45",
1063
+ "registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.24"
1064
+ ]
1065
+ },
1066
+ {
1067
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#target-lexicon@0.13.5",
1068
+ "dependsOn": []
1069
+ },
1070
+ {
1071
+ "ref": "registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.24",
1072
+ "dependsOn": []
1073
+ }
1074
+ ]
1075
+ }