The CycloneDX module for Rust (Cargo) creates a valid CycloneDX Software Bill-of-Material (SBOM) containing an aggregate of all project dependencies. CycloneDX is a lightweight SBOM specification that is easily created, human and machine readable, and simple to parse.
Execute CycloneDX from within a Rust project directory containing Cargo.toml.
bash
cargo install cyclonedx-bom
bash
~/.cargo/bin/cargo-cyclonedx cyclonedx
bash
cargo cyclonedx
CycloneDX Rust Cargo is Copyright (c) OWASP Foundation. All Rights Reserved.
Permission to modify and redistribute is granted under the terms of the Apache 2.0 license. See the [LICENSE] file for the full license.