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