pkg.soopen package index

brew / 順位 7079

cargo-bloat を Homebrew, apk, Nix, pacman でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install cargo-bloat

local Homebrew formula metadata

Linux

Alpine Linux apk確認済み · 92%
sudo apk add cargo-bloat

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

Nix確認済み · 92%
nix profile install nixpkgs#cargo-bloat

nixpkgs package indexes · pkgs/by-name/ca/cargo-bloat/package.nix · ソース: api.github.com

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

Arch Linux sync databases · cargo-bloat · ソース: geo.mirror.pkgbuild.com

概要

パッケージ概要

Find out what takes most of the space in your executable

コマンドとエイリアス

  • cargo-bloat

履歴

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

cargo-bloat is a Cargo subcommand for explaining where compiled Rust binary size goes. It analyzes release artifacts and reports the largest functions or crates contributing to executable text size.

プロジェクトの歴史

Yevhenii Reizner's cargo-bloat repository was created in January 2018, and version 0.1.0 was published to crates.io a few days later. The README describes the package as a way to find what takes most of the space in an executable, with support for ELF, Mach-O, and PE binaries.

The project was explicitly inspired by Google's Bloaty binary size profiler while adopting a Rust/Cargo-specific interface. Over later releases it added and kept options such as per-crate views, filtering, splitting standard-library crates, full function names, wide output, and JSON output.

採用の歴史

cargo-bloat spread because Rust developers regularly need size explanations for CLI tools, embedded-adjacent binaries, WebAssembly-adjacent investigations, and release optimization. Crates.io places it in the Cargo plugins category and reports more than 360,000 downloads.

Its package-manager footprint is broader than a one-off Cargo plugin: the input records Homebrew, Alpine, Nix, and Arch packaging. That matters because size-analysis tools are often installed globally on developer machines and CI images rather than vendored into projects.

使われ方

The common path is `cargo install cargo-bloat` and then `cargo bloat --release -n 10` to list the largest functions in the release build. `cargo bloat --release --crates` switches the view to crate-level contribution.

The README emphasizes that per-crate numbers are estimates, not exact accounting. It also notes that WebAssembly is not supported and points users toward twiggy for that use case.

パッケージ好きにとっての重要性

cargo-bloat is a classic package-nerd tool because it turns compiler output into a ranked table that directly informs dependency choices. It is one of the Rust ecosystem's small, sharp CLI packages that makes invisible package cost visible.

Its relationship to Bloaty and twiggy also shows how Rust packaging borrowed from general binary-analysis culture while building Cargo-native workflows for Rust developers.

タイムライン

  • 2018-01-07: GitHub repository RazrFalcon/cargo-bloat was created.
  • 2018-01-11: cargo-bloat 0.1.0 was published on crates.io.
  • 2018-2020: The 0.2 through 0.10 releases iterated quickly on Cargo-plugin binary-size reporting.
  • 2022-06-04: Version 0.11.1 was published.
  • 2024-05-10: Version 0.12.1 was published.

Related projects

  • google/bloaty is cited by the README as an inspiration.
  • rustwasm/twiggy is recommended by the README for WebAssembly size analysis.
  • Cargo's plugin mechanism provides the `cargo bloat` subcommand interface.

ソース

  • GitHub repository API metadata: https://api.github.com/repos/RazrFalcon/cargo-bloat
  • Official README: https://github.com/RazrFalcon/cargo-bloat#readme
  • Package-manager adoption from source_facts.package-manager.
  • crates.io API metadata and versions: https://crates.io/api/v1/crates/cargo-bloat

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

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

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
cargo-bloat実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

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

ページ生成日2026-08-03
マネージャ版0.12.1
マネージャ更新日
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:cargo-bloat
バージョン0.12.1
パッケージマネージャHomebrew
ホームページhttps://github.com/RazrFalcon/cargo-bloat
リポジトリhttps://github.com/RazrFalcon/cargo-bloat
Bottle未記録
サービス宣言なし

ソースデータベース一致

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

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

Nix95%

cargo-bloat

nix profile install nixpkgs#cargo-bloat
  • normalized package name match
  • 一致条件: Cargo Bloat
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-bloat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cargo-bloat 0.12.1-r0

Find out what takes most of the space in your Rust executable

https://github.com/RazrFalcon/cargo-bloat

sudo apk add cargo-bloat
  • License: MIT
  • Architecture: x86_64
  • Source Package: cargo-bloat
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Cargo Bloat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-bloat from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

cargo-bloat 0.12.1-2

Find out what takes most of the space in your executable

https://github.com/RazrFalcon/cargo-bloat

sudo pacman -S cargo-bloat
  • License: MIT
  • Architecture: x86_64
  • 3 依存関係
  • normalized package name match
  • 一致条件: Cargo Bloat
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-bloat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

ソース経路

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

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

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation