dash: fix Cargo format #36
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.
The ID is not being specified correctly: "Cargo" is the package manager, "Crates" is the software repository. The content ID should be specified using the latter.
e.g., in IPLab issue 21182 cargo/cargo/-/winapi/0.3.9 should be crate/cratesio/-/winapi/0.3.9.
Excerpt from the documenation:
Steps:
Use cargo to generate a dependency list;
Sort the results and remove duplicates;
Remove empty lines;
Remove references to project code;
Map each line to a ClearlyDefined ID; and
Invoke the tool.
Note that "Cargo" is the package manager, but "Crates" is the software repository. The content ID should be specified using the latter (crate/cratesio/...).
The above example skips code from the Eclipse Zenoh project. Anything that is not third-party content can be removed in a similar manner.
Note that, in order to better leverage ClearlyDefined data, the "v" should not be included in the version number. For example, serde_json v1.0.85 becomes crate/cratesio/-/serde_json/1.0.85.
Tested locally
Addresses: #32