-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate improvements from cargo cyclonedx
?
#129
Comments
@Shnatsel sorry to miss this, yes, features has been something that's been on the back of my mind for a while. I'm happy if you want to propose changes, else if you can point me to the impl (i can probably browse around for it) I can probably find some time to incorporate. |
I am no longer paid to work on Rust SBOM tooling, so I cannot open PRs myself anymore. But I am happy to point you to the equivalent code in The The PURL construction is also very easy. It's just 85 lines, the rest is tests: Recording multiple binaries for a crate is not hard either: CycloneDX/cyclonedx-rust-cargo#533 Another easy but highly desirable feature I didn't list in the initial post would be recording hashes in the SBOM: CycloneDX/cyclonedx-rust-cargo#620 |
@Shnatsel thanks! im not paid to work on this either, hence the slow replies and work, will take a look! |
I have recently overhauled a similar tool,
cargo cyclonedx
. I thinkcargo sbom
would benefit from some of the improvements I made there, specifically:--target
--no-default-features
,--all-features
,--features=...
. Right nowcargo sbom
always records the dependency tree for all features.fd-find
package has the binary calledfd
, some packages have multiple binaries)I am not familiar with the SPDX format so I am not sure if these items also apply there.
Would you be interested in integrating similar changes into
cargo sbom
? I could probably open pull requests for at least some of this.The text was updated successfully, but these errors were encountered: