Nemo157 / cargo-lichking

Automated license checking for rust. cargo lichking is a Cargo subcommand that checks licensing information for dependencies.
Other
128 stars 16 forks source link

Ensure correct dependencies license information is included #49

Open Nemo157 opened 6 years ago

Nemo157 commented 6 years ago

https://github.com/Nemo157/cargo-lichking/pull/38 added a subcommand to print cargo-lichking's dependencies licenses using the new bundle printing functionality. Unfortunately this is very easy to have incorrect, and even with the test added in https://github.com/Nemo157/cargo-lichking/pull/48 will be incorrect if someone builds without using the lockfile (which includes via cargo install).

One way to do this would be to provide the main functionality via a library, which can then be used as part of the build script to generate this file for the current build. That will probably double the already quite long build time though....