1[package]
2name = "pyo3-ffi"
3version = "0.24.2"
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"
13rust-version = "1.63"
14
15[dependencies]
16libc = "0.2.62"
17
18[features]
19
20default = []
21
22# Use this feature when building an extension module.
23# It tells the linker to keep the python symbols unresolved,
24# so that the module can also be used with statically linked python interpreters.
25extension-module = ["pyo3-build-config/extension-module"]
26
27# Use the Python limited API. See https://www.python.org/dev/peps/pep-0384/ for more.
28abi3 = ["pyo3-build-config/abi3"]
29
30# With abi3, we can manually set the minimum Python version.
31abi3-py37 = ["abi3-py38", "pyo3-build-config/abi3-py37"]
32abi3-py38 = ["abi3-py39", "pyo3-build-config/abi3-py38"]
33abi3-py39 = ["abi3-py310", "pyo3-build-config/abi3-py39"]
34abi3-py310 = ["abi3-py311", "pyo3-build-config/abi3-py310"]
35abi3-py311 = ["abi3-py312", "pyo3-build-config/abi3-py311"]
36abi3-py312 = ["abi3-py313", "pyo3-build-config/abi3-py312"]
37abi3-py313 = ["abi3", "pyo3-build-config/abi3-py313"]
38
39# Automatically generates `python3.dll` import libraries for Windows targets.
40generate-import-lib = ["pyo3-build-config/python3-dll-a"]
41
42[dev-dependencies]
43paste = "1"
44
45[build-dependencies]
46pyo3-build-config = { path = "../pyo3-build-config", version = "=0.24.2", features = ["resolve-config"] }
47
48[lints]
49workspace = true
50
51[package.metadata.cpython]
52min-version = "3.7"
53max-version = "3.13" # inclusive
54
55[package.metadata.pypy]
56min-version = "3.9"
57max-version = "3.11" # inclusive
58