alilleybrinker / cargo-spdx

Generate an SPDX Software Bill of Materials for Rust crates.
https://crates.io/crates/cargo-spdx
Other
19 stars 2 forks source link

Add file information to SBOMs #10

Closed tofay closed 2 years ago

tofay commented 2 years ago

Follows on from https://github.com/alilleybrinker/cargo-spdx/pull/9. Not worth reviewing this in detail until that's resolved.

Read the relevant rustc/cargo dep-info files to determine the source files used in the build.

tofay commented 2 years ago

I've rebased, this is ready for review now.

tofay commented 2 years ago

I added the https://github.com/tofay/cargo-spdx/commit/992cd855f47b48d8485f9c722d2ffbbd84c45478 changes here too, to use cargo package --list to get source files in the current workspace.

alilleybrinker commented 2 years ago

LGTM!