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/cyclonedx-bom cyclonedx
bash
cargo cyclonedx
Permission to modify and redistribute is granted under the terms of the Apache 2.0 license. See the [LICENSE] file for the full license.