{"categories":[{"label":"Version Control","url":"https://skillfed.io/packages/category/software-development-version-control"}],"enrichment":{"capability":"setuptools-rust is a setuptools plugin that compiles and packages Python extensions written in Rust, using PyO3 or rust-cpython bindings.","skillfed_tags":["rust-bindings","extension-building","packaging"],"use_cases":["Package a performance-critical Python library written in Rust for distribution on PyPI.","Build a Python extension module that calls Rust code for CPU-intensive tasks.","Distribute a Rust binary tool alongside Python code as a single wheel.","Create a namespace package that mixes Rust extension modules with pure Python code.","Cross-compile Rust extensions for deployment on different architectures."],"what_it_does":"setuptools-rust bridges the gap between Rust and Python packaging by acting as a setuptools plugin that knows how to compile Rust code into Python extension modules. It handles the build process for extensions written with PyO3 or rust-cpython, letting you distribute them as wheels just like C extensions. The plugin reads configuration from pyproject.toml, invokes the Rust toolchain (cargo), and integrates the compiled binaries into your Python package.\n\nYou use it by declaring Rust extension modules in your pyproject.toml, pointing to your Cargo.toml and specifying the binding framework (PyO3 or rust-cpython). It then manages compilation during package installation or wheel building. The plugin supports both library modules (for import) and binary executables, and handles cross-compilation via tools like crossenv or cargo-zigbuild.","worth_installing":"Yes, if you are writing Python extensions in Rust. The plugin is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. It is the standard way to package Rust extensions for PyPI distribution. Install it only in your build-system requirements (pyproject.toml), not as a runtime dependency."},"id":"setuptools-rust","links":{"html":"https://skillfed.io/packages/setuptools-rust","md":"https://skillfed.io/packages/setuptools-rust.md","pypi":"https://pypi.org/project/setuptools-rust/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-27","license_spdx":null,"license_treatment":"permissive","name":"setuptools-rust","python_support":"supports_current","summary":"Setuptools Rust extension plugin"},"popularity":{"monthly_downloads":6925523,"position":1809,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.13.0"}
