Skip to content

Commit

Permalink
Refactor toml and lock file in cargo parsing using @iarna/toml(#1592)…
Browse files Browse the repository at this point in the history
… (#1595)

* Refactor toml and lock file in cargo parsing using `@iarna/toml`(#1592)

Signed-off-by: Lizhe Lv <[email protected]>

* Optimize cargo dependencies parsing

Signed-off-by: Lizhe Lv <[email protected]>

* lint

Signed-off-by: Prabhu Subramanian <[email protected]>

* Bug fix

Signed-off-by: Prabhu Subramanian <[email protected]>

---------

Signed-off-by: Lizhe Lv <[email protected]>
Signed-off-by: Prabhu Subramanian <[email protected]>
Co-authored-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
Code-Agitator and prabhu authored Feb 18, 2025
1 parent 5a29893 commit 290be6e
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 278 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/repotests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,8 @@ jobs:
shell: bash
- name: repotests rust
run: |
bin/cdxgen.js -p -r -t rust repotests/rs-rust -o bomresults/bom-rs-rust.json --fail-on-error
bin/cdxgen.js -p -r -t rust repotests/rs-cargo -o bomresults/bom-rs-cargo.json --fail-on-error
bin/cdxgen.js -p -r -t rust repotests/rs-rust -o bomresults/bom-rs-rust.json --exclude "**/tests/**" --fail-on-error
bin/cdxgen.js -p -r -t rust repotests/rs-cargo -o bomresults/bom-rs-cargo.json --exclude "**/tests/**" --fail-on-error
cargo generate-lockfile --manifest-path repotests/rs-validator/validator/Cargo.toml
bin/cdxgen.js -p -r -t rust repotests/rs-validator -o bomresults/bom-rs-validator.json --fail-on-error
bin/cdxgen.js -p -r -t rust repotests/rs-axum -o bomresults/bom-rs-axum.json --fail-on-error
Expand Down
Loading

0 comments on commit 290be6e

Please sign in to comment.