Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, Nix, pacman 安装 maturin

查看 maturin 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install maturin

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add maturin

Alpine Linux edge package indexes · maturin · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install maturin

Fedora Rawhide package metadata · maturin · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#maturin

nixpkgs package indexes · pkgs/by-name/ma/maturin/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S maturin

Arch Linux sync databases · maturin · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Build and publish Rust crates as Python packages

命令和别名

  • maturin

历史

项目历史与用法

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.

时间线

  • 2018: Changelog records the 0.1.0 release.
  • 2020: Changelog records the rename from pyo3-pack to maturin and PEP 517 support.
  • 2023: GitHub release v1.0.0 is published.
  • 2020s: Changelog records support for PEP 621, PEP 660, musllinux, UniFFI, Zig cross compilation, SBOMs, and PyPI attestations.

Related projects

  • maturin is closely tied to PyO3 and Python packaging standards. Neighboring tools and projects include setuptools-rust, auditwheel, cibuildwheel, uv, pipx, Cargo, PyPI, and Rust-backed Python packages such as pydantic-core, ruff, orjson, polars, and watchfiles.

安全态势

尚未找到受保护工具覆盖

没有找到 maturin 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
pyproject.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
maturincli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.14.1
管理器更新时间2026-06-19
本地数据OK
上游当前
检测到的最新版本v1.14.1

https://github.com/PyO3/maturin

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:maturin
版本1.14.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/maturin
主页https://github.com/PyO3/maturin
仓库https://github.com/PyO3/maturin
上游文档https://www.maturin.rs/
许可证Apache-2.0 OR MIT
源码归档https://github.com/PyO3/maturin/archive/refs/tags/v1.14.1.tar.gz
最后更新2026-06-19T08:00:43Z
Pulseupdated
依赖xz
构建依赖pkgconf, rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namematurin
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

maturin

nix profile install nixpkgs#maturin
  • normalized package name match
  • 匹配方式:Maturin
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/maturin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

maturin 1.11.5-r1

Build and publish crates with pyo3, rust-cpython and cffi bindings

https://github.com/PyO3/maturin

sudo apk add maturin
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: maturin
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Maturin
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: maturin from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

maturin-bash-completion 1.11.5-r1

Bash completions for maturin

https://github.com/PyO3/maturin

sudo apk add maturin-bash-completion
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: maturin
  • normalized package name match
  • 匹配方式:Maturin
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: maturin-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

maturin-fish-completion 1.11.5-r1

Fish completions for maturin

https://github.com/PyO3/maturin

sudo apk add maturin-fish-completion
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: maturin
  • normalized package name match
  • 匹配方式:Maturin
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: maturin-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

maturin-zsh-completion 1.11.5-r1

Zsh completions for maturin

https://github.com/PyO3/maturin

sudo apk add maturin-zsh-completion
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: maturin
  • normalized package name match
  • 匹配方式:Maturin
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: maturin-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

py3-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-maturin
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: maturin
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Maturin
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-maturin from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

py3-maturin-pyc 1.11.5-r1

Precompiled Python bytecode for py3-maturin

https://github.com/PyO3/maturin

sudo apk add py3-maturin-pyc
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: maturin
  • 1 依赖
  • normalized package name match
  • 匹配方式:Maturin
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-maturin-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

maturin 1.9.6-6.fc45

Build and publish Rust crates as Python packages

https://github.com/PyO3/maturin

sudo dnf install maturin
  • License: 0BSD AND Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND (0BSD OR MIT OR
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: maturin
  • 8 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Maturin
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: maturin from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

maturin 1.13.3-1

Build and publish crates with pyo3, rust-cpython and cffi bindings

https://github.com/PyO3/maturin

sudo pacman -S maturin
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Maturin
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: maturin from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment