axodotdev / cargo-dist

📦 shippable application packaging
https://axodotdev.github.io/cargo-dist/
Apache License 2.0
1.5k stars 72 forks source link

bundle dependency license info #1342

Open ashleygwilliams opened 2 months ago

ashleygwilliams commented 2 months ago

https://github.com/sstadick/cargo-bundle-licenses

tl;dr generate a file that lists all the licenses of deps.

there are so many third party tools that do this that ideally we can leverage the best in class of them to get full coverage for all project types, but it's possible it's also "easy enough" to reimplement given that we are already excellent at finding and reading project manifest files and that using that graph as input to third party tools might be harder than just reimplementing.

Gankra commented 2 months ago

wrt doing this package-manager-independently, in an ideal world this can be broken down into several separable concerns: