macOS
brew install cbindgenlocal Homebrew formula metadata
sudo port install cbindgenMacPorts ports tree · devel/cbindgen/Portfile · ソース: api.github.com
brew
cbindgen のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install cbindgenlocal Homebrew formula metadata
sudo port install cbindgenMacPorts ports tree · devel/cbindgen/Portfile · ソース: api.github.com
sudo apk add cbindgenAlpine Linux edge package indexes · cbindgen · ソース: dl-cdn.alpinelinux.org
sudo apt install cbindgenDebian stable package indexes · cbindgen · ソース: deb.debian.org
sudo dnf install cbindgenFedora Rawhide package metadata · cbindgen · ソース: dl.fedoraproject.org
sudo pacman -S cbindgenArch Linux sync databases · cbindgen · ソース: geo.mirror.pkgbuild.com
概要
Project for generating C bindings from Rust code
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.toml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
cbindgen | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/mozilla/cbindgen
インストールメタデータ
| パッケージキー | brew:cbindgen |
|---|---|
| バージョン | 0.29.4 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/cbindgen |
| ホームページ | https://github.com/mozilla/cbindgen |
| リポジトリ | https://github.com/mozilla/cbindgen |
| 上流ドキュメント | https://docs.rs/cbindgen |
| ライセンス | MPL-2.0 |
| ソースアーカイブ | https://github.com/mozilla/cbindgen/archive/refs/tags/v0.29.4.tar.gz |
| 最終更新 | 2026-06-11T00:06:46Z |
| Pulse | updated |
| ビルド依存関係 | rust |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 cbindgenソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.