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