| 1 | [build-system] |
| 2 | requires = ["maturin>=1.7,<2.0"] |
| 3 | build-backend = "maturin" |
| 4 | |
| 5 | [project] |
| 6 | name = "feel" |
| 7 | version = "0.1.0" |
| 8 | description = "FEEL (DMN) expression engine for Python, backed by the Rust feel-core." |
| 9 | requires-python = ">=3.9" |
| 10 | license = { text = "Apache-2.0" } |
| 11 | # years-months-duration has no native Python type; we map it to relativedelta. |
| 12 | dependencies = ["python-dateutil>=2.8"] |
| 13 | classifiers = [ |
| 14 | "Programming Language :: Rust", |
| 15 | "Programming Language :: Python :: Implementation :: CPython", |
| 16 | ] |
| 17 | |
| 18 | [tool.maturin] |
| 19 | # Mixed layout: the compiled extension is `feel._feel` (from [lib] name = "_feel"), |
| 20 | # placed inside the `feel` package under python/, which re-exports it and ships the |
| 21 | # type stubs (feel/__init__.pyi, feel/py.typed) for PEP 561. |
| 22 | module-name = "feel._feel" |
| 23 | python-source = "python" |
| 24 | features = ["pyo3/extension-module"] |