1[package]
2name = "pyo3-build-config"
3version = "0.20.3"
4description = "Build configuration 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"
12
13[dependencies]
14once_cell = "1"
15python3-dll-a = { version = "0.2.6", optional = true }
16target-lexicon = "0.12"
17
18[build-dependencies]
19python3-dll-a = { version = "0.2.6", optional = true }
20target-lexicon = "0.12"
21
22[features]
23default = []
24
25# Attempt to resolve a Python interpreter config for building in the build
26# script. If this feature isn't enabled, the build script no-ops.
27resolve-config = []
28
29# This feature is enabled by pyo3 when building an extension module.
30extension-module = []
31
32# These features are enabled by pyo3 when building Stable ABI extension modules.
33abi3 = []
34abi3-py37 = ["abi3-py38"]
35abi3-py38 = ["abi3-py39"]
36abi3-py39 = ["abi3-py310"]
37abi3-py310 = ["abi3-py311"]
38abi3-py311 = ["abi3-py312"]
39abi3-py312 = ["abi3"]
40
41[package.metadata.docs.rs]
42features = ["resolve-config"]
43