macOS
brew install maturinlocal Homebrew formula metadata
brew
Build and publish Rust crates as Python packages. Version 1.14.1 via Homebrew; verified 2026-06-19.
install
brew install maturinlocal Homebrew formula metadata
sudo apk add maturinAlpine Linux edge package indexes · maturin · source: dl-cdn.alpinelinux.org
sudo dnf install maturinFedora Rawhide package metadata · maturin · source: dl.fedoraproject.org
nix profile install nixpkgs#maturinnixpkgs package indexes · pkgs/by-name/ma/maturin/package.nix · source: api.github.com
sudo pacman -S maturinArch Linux sync databases · maturin · source: geo.mirror.pkgbuild.com
overview
Build and publish Rust crates as Python packages
history
maturin is the PyO3 ecosystem's Rust-to-Python packaging tool. It builds Rust crates with PyO3, cffi, UniFFI, and binary bindings into Python wheels and source distributions, and can also publish packages to PyPI.
The README identifies maturin as formerly `pyo3-pack`, and the changelog records the 0.1.0 release on 2018-08-22. A later changelog entry states that the project changed its name from pyo3-pack to maturin and added PEP 517 support.
The project evolved from a PyO3-focused wheel builder into a broader Python packaging bridge for Rust. The README documents support for Python 3.8+ wheels on Windows, Linux, macOS, and FreeBSD, plus PyPy and GraalPy support. The changelog tracks packaging-specific work such as manylinux, musllinux, auditwheel behavior, PEP 621 metadata, PEP 660 editable installs, UniFFI support, Zig-based cross compilation, and PyPI attestations.
maturin's adoption followed the growth of Python packages with Rust native extensions. The README examples list prominent Rust-backed Python projects and bindings such as orjson, polars, pydantic-core, ruff, tantivy-py, watchfiles, DataFusion/Arrow bindings, and delta-rs Python bindings.
The batch input records packaging in Homebrew, Alpine, Fedora, Nix, and Arch. In practice, maturin is also commonly installed from PyPI with pip, pipx, uv, or as part of PEP 517 builds, making it both an end-user CLI and a build backend in Python packaging workflows.
Common commands are `maturin new`, `maturin build`, and `maturin develop`. The README recommends `maturin build` for producing wheels under `target/wheels`, `maturin develop` for installing into the current virtualenv during development, and `uv publish` or related tooling for publication.
Configuration lives in `pyproject.toml` when projects need Python metadata, build-system configuration, `tool.maturin` options, Python source layout, binding type, compatibility settings, include rules, or PEP 621 metadata. For simple projects, the README says maturin can work with minimal extra configuration and merge metadata from Cargo.toml and pyproject.toml.
maturin is a package-nerd cornerstone because it sits exactly where Rust's Cargo model and Python's wheel/PEP ecosystem meet. It hides a lot of platform tagging, manylinux/musllinux, interpreter detection, native-library repair, metadata, and cross-compilation detail behind one command.
Its importance rose as Python projects adopted Rust for speed and safety while still needing ordinary `pip install` behavior. For distro and Homebrew maintainers, maturin is both a packaged tool and part of the build chain for other packages.
security posture
No matching local secret-handling manifest was found for maturin. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
pyproject.tomlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
maturin | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/PyO3/maturin
install metadata
| Package key | brew:maturin |
|---|---|
| Version | 1.14.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/maturin |
| Homepage | https://github.com/PyO3/maturin |
| Repository | https://github.com/PyO3/maturin |
| Upstream docs | https://www.maturin.rs/ |
| License | Apache-2.0 OR MIT |
| Source archive | https://github.com/PyO3/maturin/archive/refs/tags/v1.14.1.tar.gz |
| Last updated | 2026-06-19T08:00:43Z |
| Pulse | updated |
| Dependencies | xz |
| Build dependencies | pkgconf, rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | maturin |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
maturin
nix profile install nixpkgs#maturinmaturin 1.11.5-r1
Build and publish crates with pyo3, rust-cpython and cffi bindings
https://github.com/PyO3/maturin
sudo apk add maturinmaturin-bash-completion 1.11.5-r1
Bash completions for maturin
https://github.com/PyO3/maturin
sudo apk add maturin-bash-completionmaturin-fish-completion 1.11.5-r1
Fish completions for maturin
https://github.com/PyO3/maturin
sudo apk add maturin-fish-completionmaturin-zsh-completion 1.11.5-r1
Zsh completions for maturin
https://github.com/PyO3/maturin
sudo apk add maturin-zsh-completionpy3-maturin 1.11.5-r1
Build and publish crates with pyo3, rust-cpython and cffi bindings (python module)
https://github.com/PyO3/maturin
sudo apk add py3-maturinpy3-maturin-pyc 1.11.5-r1
Precompiled Python bytecode for py3-maturin
https://github.com/PyO3/maturin
sudo apk add py3-maturin-pycmaturin 1.9.6-6.fc45
Build and publish Rust crates as Python packages
https://github.com/PyO3/maturin
sudo dnf install maturinmaturin 1.13.3-1
Build and publish crates with pyo3, rust-cpython and cffi bindings
https://github.com/PyO3/maturin
sudo pacman -S maturinsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.