Add script to generate license dependencies as csv (#18411)

Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
This commit is contained in:
Peter Tripp 2024-09-26 16:21:20 -04:00 committed by GitHub
parent e28496d4e2
commit 48c6eb9ac7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 35 additions and 2 deletions

View file

@ -0,0 +1,6 @@
Crate Name,Crate Version,License,Url
{{#each licenses}}
{{#each used_by}}
{{crate.name}},{{crate.version}},{{../name}},{{#if crate.repository}}{{crate.repository}}{{else}}https://crates.io/crates/{{crate.name}}{{/if}}
{{/each}}
{{/each}}