Skip to content

Commit

Permalink
Share common code among rustsec_issues and rustsec_advisories
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Dec 9, 2023
1 parent 5c578e0 commit 90a4c8b
Show file tree
Hide file tree
Showing 17 changed files with 817 additions and 371 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ updates:
- dependency-type: direct

- package-ecosystem: cargo
directory: /rustsec_comparison
directory: /rustsec_util
schedule:
interval: weekly
allow:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
echo '${{ secrets.GITHUB_TOKEN }}' > "$GITHUB_TOKEN_PATH"
cargo test \
--test dogfood \
--test rustsec_comparison \
--test rustsec_advisories \
--test snapbox
all-checks:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

b. Either X has no associated repository, or its repository's last commit was over a year ago (a configurable value).

As of 2023-11-29, the RustSec Advisory Database contains 87 active advisories for unmaintained packages. Using the above conditions, `cargo-unmaintained` automatically identifies 63 of them (more than two thirds). These results can be reproduced by running the [`rustsec_comparison`] binary within this repository.
As of 2023-11-29, the RustSec Advisory Database contains 87 active advisories for unmaintained packages. Using the above conditions, `cargo-unmaintained` automatically identifies 63 of them (more than two thirds). These results can be reproduced by running the [`rustsec_advisories`] binary within this repository.

### Notes

Expand Down Expand Up @@ -100,5 +100,5 @@ ignore = ["proc-macro-error"]
[RustSec Advisory Database]: https://github.com/RustSec/advisory-db/
[`cargo-audit`]: https://github.com/RustSec/rustsec/tree/main/cargo-audit
[`regex-automata`]: https://crates.io/crates/regex-automata
[`rustsec_comparison`]: ./rustsec_comparison
[`rustsec_advisories`]: ./rustsec_util/src/bin/rustsec_advisories.rs
[personal access token]: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
Loading

0 comments on commit 90a4c8b

Please sign in to comment.