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.
Description
This PR configures cargo-deny in the project, cargo-deny is a cargo plugin that lets you lint your project's dependency graph to ensure all your dependencies conform to your expectations and requirements.
This tool also detect crate license compliance, which is useful when the project become open-source. While configuring it I've found some issues:
RUSTSEC-2020-0071: Some crate is using chrono's
oldtime
feature dependency, which have a vulnerability in unix systems.RUSTSEC-2021-0060: Some dependency is using the crate aes-soft, which is deprecated!
RUSTSEC-2021-0064: Some dependency is using the crate cpuid-bool, which is deprecated!
RUSTSEC-2021-0139: Some dependency is using the crate ansi_term, which is Unmaintained since 2019.
RUSTSEC-2022-0061: Some dependency is using the crate parity-wasm, which has been deprecated by the author.
Checklist
The fix for the security vulnerabilities should be handle in another PR.
Type of change
Tests
Install cargo-deny tool:
Then run cargo-deny checks:
Code review prechecks: