macOS
brew install cbindgenlocal Homebrew formula metadata
sudo port install cbindgenMacPorts ports tree · devel/cbindgen/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cbindgen pour les workflows d'agents IA.
installation
brew install cbindgenlocal Homebrew formula metadata
sudo port install cbindgenMacPorts ports tree · devel/cbindgen/Portfile · Source: api.github.com
sudo apk add cbindgenAlpine Linux edge package indexes · cbindgen · Source: dl-cdn.alpinelinux.org
sudo apt install cbindgenDebian stable package indexes · cbindgen · Source: deb.debian.org
sudo dnf install cbindgenFedora Rawhide package metadata · cbindgen · Source: dl.fedoraproject.org
sudo pacman -S cbindgenArch Linux sync databases · cbindgen · Source: geo.mirror.pkgbuild.com
aperçu
Project for generating C bindings from Rust code
historique
cbindgen is a Mozilla-hosted Rust developer tool that generates C, C++11, and Cython headers for Rust crates exposing a public C API.
The public Mozilla repository was created in 2017. The official user guide says cbindgen developed largely ad hoc as maintainers added features for their own use cases, with attention to matching Rust's actual layout and ABI guarantees.
The README lists production users and examples including WebRender, Stylo, maturin, tquic, and metatensor. The supplied package facts show broad packaging across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, and MacPorts.
cbindgen can be run as a standalone CLI or called from a Rust `build.rs`. The quick start requires a Rust crate with a public C API and a `cbindgen.toml` configuration, then emits headers with commands such as `cbindgen --config cbindgen.toml --crate my_rust_library --output my_header.h`.
cbindgen sits at a practical packaging boundary: it lets Rust libraries ship C-family headers generated from the Rust source of truth. That makes it important for distributions carrying mixed Rust/C/C++ stacks, especially projects that expose stable FFI surfaces.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des 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.
cbindgen.tomlexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
cbindgen | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/mozilla/cbindgen
métadonnées d'installation
| Clé du paquet | brew:cbindgen |
|---|---|
| Version | 0.29.4 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/cbindgen |
| Page d'accueil | https://github.com/mozilla/cbindgen |
| Dépôt | https://github.com/mozilla/cbindgen |
| Docs amont | https://docs.rs/cbindgen |
| Licence | MPL-2.0 |
| Archive source | https://github.com/mozilla/cbindgen/archive/refs/tags/v0.29.4.tar.gz |
| Dernière mise à jour | 2026-06-11T00:06:46Z |
| Pulse | updated |
| Dépendances de compilation | rust |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cbindgen |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
cbindgen 0.27.0-1+b4
Generates C bindings from Rust code
sudo apt install cbindgencbindgen 0.26.0-3
Generates C bindings from Rust code
sudo apt install cbindgencbindgen 0.29.1-r0
Tool to generate C bindings from Rust code
https://github.com/mozilla/cbindgen
sudo apk add cbindgencbindgen 0.29.3-1.fc45
Tool for generating C bindings to Rust code
https://crates.io/crates/cbindgen
sudo dnf install cbindgencbindgen 0.29.4-1
A tool for generating C bindings to Rust code
https://github.com/mozilla/cbindgen
sudo pacman -S cbindgencbindgen
sudo port install cbindgenpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.