[build-system] requires = ["maturin>=1.3,<2.0"] build-backend = "maturin" [project] name = "fastok" requires-python = ">=3.8" classifiers = [ "Programming Language :: Rust", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] dynamic = ["version"] [tool.maturin] # If the Python module created by Rust has the same name as the Python package in a mixed Rust/Python project, # IDEs might get confused. You might also want to discourage end users from using the Rust functions directly # by giving it a different name, say '_my_project'. This can be done by adding module-name = . # to the [tool.maturin] in your pyproject.toml. module-name = "fastok._fastok" python-source = "bindings/python" bindings = "pyo3" features = ["pyo3/extension-module"]