2022-01-25 13:46:27 +00:00
|
|
|
[package]
|
|
|
|
name = "pyo3-ffi"
|
2023-02-03 07:11:01 +00:00
|
|
|
version = "0.18.1"
|
2022-01-25 13:46:27 +00:00
|
|
|
description = "Python-API bindings for the PyO3 ecosystem"
|
|
|
|
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
|
|
|
|
keywords = ["pyo3", "python", "cpython", "ffi"]
|
|
|
|
homepage = "https://github.com/pyo3/pyo3"
|
|
|
|
repository = "https://github.com/pyo3/pyo3"
|
|
|
|
categories = ["api-bindings", "development-tools::ffi"]
|
|
|
|
license = "Apache-2.0"
|
|
|
|
edition = "2018"
|
2022-03-15 11:40:11 +00:00
|
|
|
links = "python"
|
2022-01-25 13:46:27 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
libc = "0.2.62"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
|
|
|
|
default = []
|
|
|
|
|
|
|
|
# Use this feature when building an extension module.
|
|
|
|
# It tells the linker to keep the python symbols unresolved,
|
|
|
|
# so that the module can also be used with statically linked python interpreters.
|
2022-04-16 15:13:06 +00:00
|
|
|
extension-module = ["pyo3-build-config/extension-module"]
|
2022-01-25 13:46:27 +00:00
|
|
|
|
|
|
|
# Use the Python limited API. See https://www.python.org/dev/peps/pep-0384/ for more.
|
|
|
|
abi3 = ["pyo3-build-config/abi3"]
|
|
|
|
|
|
|
|
# With abi3, we can manually set the minimum Python version.
|
|
|
|
abi3-py37 = ["abi3-py38", "pyo3-build-config/abi3-py37"]
|
|
|
|
abi3-py38 = ["abi3-py39", "pyo3-build-config/abi3-py38"]
|
|
|
|
abi3-py39 = ["abi3-py310", "pyo3-build-config/abi3-py39"]
|
2022-11-23 08:08:12 +00:00
|
|
|
abi3-py310 = ["abi3-py311", "pyo3-build-config/abi3-py310"]
|
|
|
|
abi3-py311 = ["abi3", "pyo3-build-config/abi3-py311"]
|
2022-01-25 13:46:27 +00:00
|
|
|
|
2022-04-16 08:16:01 +00:00
|
|
|
# Automatically generates `python3.dll` import libraries for Windows targets.
|
2022-05-10 07:46:47 +00:00
|
|
|
generate-import-lib = ["pyo3-build-config/python3-dll-a"]
|
2022-01-25 13:46:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
[build-dependencies]
|
2023-02-03 07:11:01 +00:00
|
|
|
pyo3-build-config = { path = "../pyo3-build-config", version = "0.18.1", features = ["resolve-config"] }
|