Automic VaultAutomic Vault

brew

cbindgen を Homebrew, apk, apt, dnf, MacPorts, pacman でインストール

cbindgen のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install cbindgen

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install cbindgen

MacPorts ports tree · devel/cbindgen/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add cbindgen

Alpine Linux edge package indexes · cbindgen · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install cbindgen

Debian stable package indexes · cbindgen · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install cbindgen

Fedora Rawhide package metadata · cbindgen · ソース: dl.fedoraproject.org

Arch Linux pacman確認済み · 92%
sudo pacman -S cbindgen

Arch Linux sync databases · cbindgen · ソース: geo.mirror.pkgbuild.com

概要

パッケージ概要

Project for generating C bindings from Rust code

コマンドとエイリアス

  • cbindgen

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2017: Public GitHub repository created under Mozilla.
  • 2025: 0.28.0 and 0.29.0 releases published on GitHub.
  • 2026: 0.29.4 release published on GitHub.

Related projects

  • The README points to production or ecosystem users including WebRender, Stylo, maturin, tquic, and metatensor, and the API documentation is published on docs.rs.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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
cbindgen.toml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
cbindgencliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版0.29.4
マネージャ更新日2026-06-11
ローカルデータOK
上流最新
検出された最新v0.29.4

https://github.com/mozilla/cbindgen

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
ビルド依存関係rust
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

cbindgen 0.27.0-1+b4

Generates C bindings from Rust code

sudo apt install cbindgen
  • Section: utils
  • Architecture: amd64
  • Source Package: rust-cbindgen
  • 2 依存関係
  • normalized package name match
  • 一致条件: Cbindgen
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cbindgen from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

cbindgen 0.26.0-3

Generates C bindings from Rust code

sudo apt install cbindgen
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: rust-cbindgen
  • 2 依存関係
  • normalized package name match
  • 一致条件: Cbindgen
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cbindgen from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

cbindgen 0.29.1-r0

Tool to generate C bindings from Rust code

https://github.com/mozilla/cbindgen

sudo apk add cbindgen
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: cbindgen
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Cbindgen
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cbindgen from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

cbindgen 0.29.3-1.fc45

Tool for generating C bindings to Rust code

https://crates.io/crates/cbindgen

sudo dnf install cbindgen
  • License: MPL-2.0 AND MIT AND Unicode-3.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rust-cbindgen
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Cbindgen
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cbindgen from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

cbindgen 0.29.4-1

A tool for generating C bindings to Rust code

https://github.com/mozilla/cbindgen

sudo pacman -S cbindgen
  • License: MPL-2.0
  • Architecture: x86_64
  • 2 依存関係
  • normalized package name match
  • 一致条件: Cbindgen
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cbindgen from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

cbindgen

sudo port install cbindgen
  • normalized package name match
  • 一致条件: Cbindgen
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/cbindgen/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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