9b45a19161
Add a new public crate function `cross_compile_from_to()` using `target_lexicon::Triple` arguments instead of plain strings used in `cross_compile()`. Deprecate `pyo3_build_config::cross_compile()` since v0.17. Attempt to extract common code patterns into methods and standalone helper functions. Add docstrings to the new private items. Make some of the new helper functions public within the PyO3 crate and reuse them in the build scripts. Add PYO3_CROSS_PYTHON_VERSION parsing unit test. Add a ChangeLog entry mentioning the new `pyo3-build-config` API.
35 lines
874 B
TOML
35 lines
874 B
TOML
[package]
|
|
name = "pyo3-build-config"
|
|
version = "0.16.2"
|
|
description = "Build configuration 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"
|
|
|
|
[dependencies]
|
|
once_cell = "1"
|
|
target-lexicon = "0.12"
|
|
|
|
[build-dependencies]
|
|
target-lexicon = "0.12"
|
|
|
|
[features]
|
|
default = []
|
|
|
|
# Attempt to resolve a Python interpreter config for building in the build
|
|
# script. If this feature isn't enabled, the build script no-ops.
|
|
resolve-config = []
|
|
|
|
abi3 = []
|
|
abi3-py37 = ["abi3-py38"]
|
|
abi3-py38 = ["abi3-py39"]
|
|
abi3-py39 = ["abi3-py310"]
|
|
abi3-py310 = ["abi3"]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["resolve-config"]
|