fastbencode 0.3.5__tar.gz → 0.3.7__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.
- {fastbencode-0.3.5 → fastbencode-0.3.7}/Cargo.toml +2 -2
- {fastbencode-0.3.5/fastbencode.egg-info → fastbencode-0.3.7}/PKG-INFO +4 -4
- {fastbencode-0.3.5 → fastbencode-0.3.7}/fastbencode/__init__.py +1 -1
- {fastbencode-0.3.5 → fastbencode-0.3.7/fastbencode.egg-info}/PKG-INFO +4 -4
- {fastbencode-0.3.5 → fastbencode-0.3.7}/fastbencode.egg-info/requires.txt +1 -1
- {fastbencode-0.3.5 → fastbencode-0.3.7}/pyproject.toml +3 -3
- {fastbencode-0.3.5 → fastbencode-0.3.7}/setup.py +1 -2
- {fastbencode-0.3.5 → fastbencode-0.3.7}/src/lib.rs +2 -2
- {fastbencode-0.3.5 → fastbencode-0.3.7}/COPYING +0 -0
- {fastbencode-0.3.5 → fastbencode-0.3.7}/MANIFEST.in +0 -0
- {fastbencode-0.3.5 → fastbencode-0.3.7}/README.md +0 -0
- {fastbencode-0.3.5 → fastbencode-0.3.7}/fastbencode/_bencode_py.py +0 -0
- {fastbencode-0.3.5 → fastbencode-0.3.7}/fastbencode/py.typed +0 -0
- {fastbencode-0.3.5 → fastbencode-0.3.7}/fastbencode.egg-info/SOURCES.txt +0 -0
- {fastbencode-0.3.5 → fastbencode-0.3.7}/fastbencode.egg-info/dependency_links.txt +0 -0
- {fastbencode-0.3.5 → fastbencode-0.3.7}/fastbencode.egg-info/top_level.txt +0 -0
- {fastbencode-0.3.5 → fastbencode-0.3.7}/setup.cfg +0 -0
- {fastbencode-0.3.5 → fastbencode-0.3.7}/tests/__init__.py +0 -0
- {fastbencode-0.3.5 → fastbencode-0.3.7}/tests/test_bencode.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "fastbencode"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.7"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
authors = ["Jelmer Vernooij <jelmer@jelmer.uk>"]
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -14,4 +14,4 @@ name = "fastbencode__bencode_rs"
|
|
|
14
14
|
crate-type = ["cdylib"]
|
|
15
15
|
|
|
16
16
|
[dependencies]
|
|
17
|
-
pyo3 = { version = "0.25.
|
|
17
|
+
pyo3 = { version = ">=0.25,<0.27", features = ["extension-module"] }
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fastbencode
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.7
|
|
4
4
|
Summary: Implementation of bencode with optional fast Rust extensions
|
|
5
5
|
Maintainer-email: Breezy Developers <breezy-core@googlegroups.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://github.com/breezy-team/fastbencode
|
|
8
8
|
Project-URL: GitHub, https://github.com/breezy-team/fastbencode
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
10
9
|
Classifier: Programming Language :: Python :: 3.10
|
|
11
10
|
Classifier: Programming Language :: Python :: 3.11
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
14
14
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
15
15
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
16
16
|
Classifier: Operating System :: POSIX
|
|
17
17
|
Classifier: Operating System :: Microsoft :: Windows
|
|
18
|
-
Requires-Python: >=3.
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: COPYING
|
|
21
21
|
Provides-Extra: rust
|
|
22
22
|
Requires-Dist: setuptools-rust>=1.0.0; extra == "rust"
|
|
23
23
|
Provides-Extra: dev
|
|
24
|
-
Requires-Dist: ruff==0.
|
|
24
|
+
Requires-Dist: ruff==0.14.3; extra == "dev"
|
|
25
25
|
Dynamic: license-file
|
|
26
26
|
|
|
27
27
|
fastbencode
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fastbencode
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.7
|
|
4
4
|
Summary: Implementation of bencode with optional fast Rust extensions
|
|
5
5
|
Maintainer-email: Breezy Developers <breezy-core@googlegroups.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://github.com/breezy-team/fastbencode
|
|
8
8
|
Project-URL: GitHub, https://github.com/breezy-team/fastbencode
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
10
9
|
Classifier: Programming Language :: Python :: 3.10
|
|
11
10
|
Classifier: Programming Language :: Python :: 3.11
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
14
14
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
15
15
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
16
16
|
Classifier: Operating System :: POSIX
|
|
17
17
|
Classifier: Operating System :: Microsoft :: Windows
|
|
18
|
-
Requires-Python: >=3.
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: COPYING
|
|
21
21
|
Provides-Extra: rust
|
|
22
22
|
Requires-Dist: setuptools-rust>=1.0.0; extra == "rust"
|
|
23
23
|
Provides-Extra: dev
|
|
24
|
-
Requires-Dist: ruff==0.
|
|
24
|
+
Requires-Dist: ruff==0.14.3; extra == "dev"
|
|
25
25
|
Dynamic: license-file
|
|
26
26
|
|
|
27
27
|
fastbencode
|
|
@@ -12,17 +12,17 @@ maintainers = [{name = "Breezy Developers", email = "breezy-core@googlegroups.co
|
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
license = "Apache-2.0"
|
|
14
14
|
classifiers = [
|
|
15
|
-
"Programming Language :: Python :: 3.9",
|
|
16
15
|
"Programming Language :: Python :: 3.10",
|
|
17
16
|
"Programming Language :: Python :: 3.11",
|
|
18
17
|
"Programming Language :: Python :: 3.12",
|
|
19
18
|
"Programming Language :: Python :: 3.13",
|
|
19
|
+
"Programming Language :: Python :: 3.14",
|
|
20
20
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
21
21
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
22
22
|
"Operating System :: POSIX",
|
|
23
23
|
"Operating System :: Microsoft :: Windows",
|
|
24
24
|
]
|
|
25
|
-
requires-python = ">=3.
|
|
25
|
+
requires-python = ">=3.10"
|
|
26
26
|
dynamic = ["version"]
|
|
27
27
|
dependencies = []
|
|
28
28
|
|
|
@@ -33,7 +33,7 @@ GitHub = "https://github.com/breezy-team/fastbencode"
|
|
|
33
33
|
[project.optional-dependencies]
|
|
34
34
|
rust = ["setuptools-rust>=1.0.0"]
|
|
35
35
|
dev = [
|
|
36
|
-
"ruff==0.
|
|
36
|
+
"ruff==0.14.3"
|
|
37
37
|
]
|
|
38
38
|
|
|
39
39
|
[tool.setuptools]
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/python3
|
|
2
2
|
|
|
3
|
-
import sys
|
|
4
3
|
|
|
5
4
|
from setuptools import setup
|
|
6
5
|
from setuptools_rust import Binding, RustExtension
|
|
@@ -11,7 +10,7 @@ setup(
|
|
|
11
10
|
"fastbencode._bencode_rs",
|
|
12
11
|
binding=Binding.PyO3,
|
|
13
12
|
py_limited_api=False,
|
|
14
|
-
optional=
|
|
13
|
+
optional=True,
|
|
15
14
|
)
|
|
16
15
|
],
|
|
17
16
|
)
|
|
@@ -411,14 +411,14 @@ fn bdecode_utf8<'py>(py: Python<'py>, s: &Bound<PyBytes>) -> PyResult<Bound<'py,
|
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
#[pyfunction]
|
|
414
|
-
fn bencode(py: Python, x: Bound<PyAny>) -> PyResult<
|
|
414
|
+
fn bencode(py: Python, x: Bound<PyAny>) -> PyResult<Py<PyAny>> {
|
|
415
415
|
let mut encoder = Encoder::new(None, None);
|
|
416
416
|
encoder.process(py, x)?;
|
|
417
417
|
Ok(encoder.to_bytes(py).into())
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
#[pyfunction]
|
|
421
|
-
fn bencode_utf8(py: Python, x: Bound<PyAny>) -> PyResult<
|
|
421
|
+
fn bencode_utf8(py: Python, x: Bound<PyAny>) -> PyResult<Py<PyAny>> {
|
|
422
422
|
let mut encoder = Encoder::new(None, Some("utf-8".to_string()));
|
|
423
423
|
encoder.process(py, x)?;
|
|
424
424
|
Ok(encoder.to_bytes(py).into())
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|