-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
25 lines (22 loc) · 827 Bytes
/
pyproject.toml
File metadata and controls
25 lines (22 loc) · 827 Bytes
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
[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
[project]
name = "resp-benchmark"
description = "resp-benchmark is a benchmark tool for testing databases that support the RESP protocol, such as Redis, Valkey, and Tair."
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["version"]
dependencies = ["pydantic","redis"]
[project.scripts]
# Python entry-point wrapper to be installed in `$venv/bin`
resp-benchmark = "resp_benchmark.cli:main" # Python function that uses Rust
[tool.maturin]
module-name = "resp_benchmark._resp_benchmark_rust_lib"
features = ["pyo3/extension-module"]
python-source = "python"