cargo-about icon indicating copy to clipboard operation
cargo-about copied to clipboard

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

Open lopopolo opened this issue 3 years ago • 1 comments

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

lopopolo avatar Sep 20 '21 16:09 lopopolo

It looks like cargo doesn't like it when both license and license-file are specified.

I think what I'd really like is for path dependencies to check the workspace root for the license file.

lopopolo avatar Sep 20 '21 16:09 lopopolo