This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
feat(add-rust-support): Added Rust support #129
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR should go in after
feat(purl-generation): Syft Service now creates a well formed, sensible purl for the Package #124
Added support for projects containing a Cargo.lock file
Added
Rust cataloger:
https://github.com/harbor-test-org/rust-repo-with-cargo-lock
Changed
.gitignore no longer ignores the Cago.lock file and the Cargo.lock file is checked in. At this time the Cargo.lock file is about ~86k and the cargo book supports checking in the lock file if the project generates an app rather than a library.
https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
How to test
cargo test commands::ingest::github::test::execute_on_harbor_test_org
{ kind: "primary", purl: /cargo/ }
pkg:cargo/harbor-test-org/rust-repo-with-cargo-lock@d0.0.0
exists