Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (66 loc) · 1.88 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (66 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "zodb-json-codec"
dynamic = ["version"]
description = "Fast pickle to JSON transcoder for ZODB, implemented in Rust"
requires-python = ">=3.12"
license = "MIT"
readme = "README.md"
authors = [
{ name = "Jens W. Klein", email = "jk@kleinundpartner.at" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Rust",
"Framework :: ZODB",
"Topic :: Database",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.urls]
Homepage = "https://github.com/bluedynamics/zodb-json-codec"
Repository = "https://github.com/bluedynamics/zodb-json-codec"
Changelog = "https://github.com/bluedynamics/zodb-json-codec/blob/main/CHANGES.md"
Issues = "https://github.com/bluedynamics/zodb-json-codec/issues"
[project.optional-dependencies]
test = [
"pytest",
"persistent",
"ZODB",
"BTrees",
"pytz",
]
bench = [
"ZODB",
"BTrees",
]
[tool.maturin]
features = ["pyo3/extension-module"]
python-source = "python"
module-name = "zodb_json_codec._rust"
[tool.ruff.format]
# Keep the formatter Python-only: code fences in the docs are prose
# examples, not format-enforced (ruff >= 0.16 formats Markdown by default).
exclude = ["*.md"]
[tool.ruff.lint]
# Pinned explicitly (classic ruff defaults plus C901) so results do not
# drift with ruff's expanding default rule set.
select = [
"C901",
"E4",
"E7",
"E9",
"F",
]
[tool.ruff.lint.mccabe]
max-complexity = 13
[tool.ruff.lint.per-file-ignores]
"benchmarks/*" = ["C901"]