macOS
brew install cargo-cyclonedxlocal Homebrew formula metadata
安装
brew install cargo-cyclonedxlocal Homebrew formula metadata
sudo apk add cargo-cyclonedxAlpine Linux edge package indexes · cargo-cyclonedx · 来源: dl-cdn.alpinelinux.org
sudo dnf install cargo-cyclonedxFedora Rawhide package metadata · cargo-cyclonedx · 来源: dl.fedoraproject.org
nix profile install nixpkgs#cargo-cyclonedxnixpkgs package indexes · pkgs/by-name/ca/cargo-cyclonedx/package.nix · 来源: api.github.com
sudo pacman -S cargo-cyclonedxArch Linux sync databases · cargo-cyclonedx · 来源: geo.mirror.pkgbuild.com
概览
Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects
历史
cargo-cyclonedx is the Rust Cargo plugin from the CycloneDX project. It generates CycloneDX Software Bill of Materials files for Cargo projects, using Cargo metadata and lockfile information to describe Rust dependencies.
The cyclonedx-rust-cargo repository was created in 2019 and contains both the cyclonedx-bom Rust library and the cargo-cyclonedx application. The cargo-cyclonedx crate was published later as the command-line plugin for Cargo users.
The project belongs to the OWASP CycloneDX ecosystem. The CycloneDX site describes CycloneDX as a full-stack Bill of Materials standard for cyber-risk reduction, while the Rust plugin adapts that standard to Cargo workspaces.
cargo-cyclonedx adoption tracks the broader rise of SBOM requirements in software supply-chain security. It is packaged across multiple operating-system package managers and crates.io metadata shows more than one million downloads by June 2026.
Its value increased as organizations began asking Rust projects for SBOMs that can be consumed by security, compliance, and asset-management tooling.
The documented command is `cargo cyclonedx`, run inside a Rust project containing Cargo.toml. By default it writes BOM files adjacent to Cargo.toml files in the workspace.
The plugin can emit XML or JSON, choose CycloneDX spec versions, select targets and feature sets, and describe crates, binaries, or all Cargo targets. The README notes that it uses both Cargo.lock and `cargo metadata`, which gives it more build-configuration context than lockfile-only scanners.
cargo-cyclonedx is important because it turns Cargo's dependency graph into a standardized interchange artifact. Package managers and security systems can consume the resulting BOM without knowing Rust internals.
It also illustrates a practical distinction in SBOM generation: registry lockfiles are not enough when features, targets, binaries, and package metadata affect what a Rust build actually contains.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cargo-cyclonedx | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/CycloneDX/cyclonedx-rust-cargo
安装元数据
| 软件包键 | brew:cargo-cyclonedx |
|---|---|
| 版本 | 0.5.9 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cargo-cyclonedx |
| 主页 | https://cyclonedx.org/ |
| 仓库 | https://github.com/CycloneDX/cyclonedx-rust-cargo |
| 上游文档 | https://github.com/CycloneDX/cyclonedx-rust-cargo/tree/main/cargo-cyclonedx#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/CycloneDX/cyclonedx-rust-cargo/archive/refs/tags/cargo-cyclonedx-0.5.9.tar.gz |
| 构建依赖 | 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 | cargo-cyclonedx |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cargo-cyclonedx
nix profile install nixpkgs#cargo-cyclonedxcargo-cyclonedx 0.5.9-r0
Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects
https://github.com/CycloneDX/cyclonedx-rust-cargo
sudo apk add cargo-cyclonedxcargo-cyclonedx 0.5.9-1.fc45
CycloneDX Software Bill of Materials (SBOM) for Rust Crates
https://crates.io/crates/cargo-cyclonedx
sudo dnf install cargo-cyclonedxcargo-cyclonedx 0.5.9-1
Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects
https://github.com/CycloneDX/cyclonedx-rust-cargo
sudo pacman -S cargo-cyclonedx来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.