latest--maturin
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/pyproject/_shared/latest--maturin.json |
| Parent schema | pyproject |
The [tool.maturin] section of a pyproject.toml
Properties
Activate all available features
Audit wheel mode
Bindings type
Platform compatibility
Override a configuration value (unstable)
Path to the wheel directory, defaults to <module_name>.data
Exclude files matching the given glob pattern(s)
List of features to activate.
Each entry can be a plain feature name string, or a conditional object
with feature and python-version keys.
Require Cargo.lock and cache are up to date
Include files matching the given glob pattern(s)
Require Cargo.lock is up to date
Path to Cargo.toml
Module name, accepts setuptools style import name like foo.bar
Do not activate the default feature
Build artifacts with the specified Cargo profile
Python packages to include
The directory with python module, contains <module_name>/__init__.py
Additional rustc arguments
Skip audit wheel
Strip the final binary
Cargo compile targets
Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details
Definitions
Auditwheel mode
Supported cargo crate types
Cargo compile target
Name as given in the Cargo.toml or generated from the file name
Kind of target ("bin", "cdylib")
A cargo feature specification that can be either a plain feature name or a conditional feature that is only enabled for certain Python versions.
Examples
[tool.maturin]
features = [
"some-feature",
{ feature = "pyo3/abi3-py311", python-version = ">=3.11" },
{ feature = "pyo3/abi3-py38", python-version = "<3.11" },
]
The target format for the include or exclude [GlobPattern].
See [Formats].
A single [Format] or multiple [Format] values for a [GlobPattern].
A glob pattern for the include and exclude configuration.
See [PyProjectToml::include] and [PyProject::exclude].
Based on https://python-poetry.org/docs/pyproject/#include-and-exclude.
Decides how to handle manylinux and musllinux compliance
Source distribution generator
Target configuration
macOS deployment target version