EmbarkStudios / EmbarkStudios/cargo-about

`license-file` key in Cargo manifest is not read for path dependencies in a workspace

Open
#162 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
782
Forks
46
Avg merge
1d 4h
Merged PRs (30d)
3

Description

**Describe the bug**
Path dependencies that specify a `license-file` get the generic MIT license text.

**To Reproduce**
Run `cargo about` with Artichoke as of this PR: https://github.com/artichoke/artichoke/pull/1420.

**Expected behavior**
Path dependencies in the current workspace use the given license file.

**Screenshots**
If applicable, add screenshots to help explain your problem.

Screen Shot 2021-09-20 at 9 13 52 AM

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by running cargo about with the Artichoke example from PR 1420, then trace how license metadata is resolved for path dependencies in the current workspace. Done means a path dependency's specified license-file is used instead of the generic MIT license text.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.