1 | [package] |
2 | name = "pyo3-ffi" |
3 | version = "0.20.3" |
4 | description = "Python-API bindings for the PyO3 ecosystem" |
5 | authors = ["PyO3 Project and Contributors <https://github.com/PyO3>" ] |
6 | keywords = ["pyo3" , "python" , "cpython" , "ffi" ] |
7 | homepage = "https://github.com/pyo3/pyo3" |
8 | repository = "https://github.com/pyo3/pyo3" |
9 | categories = ["api-bindings" , "development-tools::ffi" ] |
10 | license = "MIT OR Apache-2.0" |
11 | edition = "2021" |
12 | links = "python" |
13 | |
14 | [dependencies] |
15 | libc = "0.2.62" |
16 | |
17 | [features] |
18 | |
19 | default = [] |
20 | |
21 | # Use this feature when building an extension module. |
22 | # It tells the linker to keep the python symbols unresolved, |
23 | # so that the module can also be used with statically linked python interpreters. |
24 | extension-module = ["pyo3-build-config/extension-module" ] |
25 | |
26 | # Use the Python limited API. See https://www.python.org/dev/peps/pep-0384/ for more. |
27 | abi3 = ["pyo3-build-config/abi3" ] |
28 | |
29 | # With abi3, we can manually set the minimum Python version. |
30 | abi3-py37 = ["abi3-py38" , "pyo3-build-config/abi3-py37" ] |
31 | abi3-py38 = ["abi3-py39" , "pyo3-build-config/abi3-py38" ] |
32 | abi3-py39 = ["abi3-py310" , "pyo3-build-config/abi3-py39" ] |
33 | abi3-py310 = ["abi3-py311" , "pyo3-build-config/abi3-py310" ] |
34 | abi3-py311 = ["abi3-py312" , "pyo3-build-config/abi3-py311" ] |
35 | abi3-py312 = ["abi3" , "pyo3-build-config/abi3-py312" ] |
36 | |
37 | # Automatically generates `python3.dll` import libraries for Windows targets. |
38 | generate-import-lib = ["pyo3-build-config/python3-dll-a" ] |
39 | |
40 | [build-dependencies] |
41 | pyo3-build-config = { path = "../pyo3-build-config" , version = "=0.20.3" , features = ["resolve-config" ] } |
42 | |
43 | [lints] |
44 | workspace = true |
45 | |