Created
December 23, 2021 04:32
-
-
Save archisgore/6471ea7b89ba93ab95082948a3e19307 to your computer and use it in GitHub Desktop.
Extracting license info from Rust crate dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cargo license --json | jq -r '.[] | "Zerotect,\"" + .name + "\",\"" + .version + "\",\"https://crates.io/crates/" + .name + "\",\"" + .license + "\",\"" + .repository + "/blob/master/LICENSE\",\"" + .description + "\",Production (Distributed),Static link,No,No,No"' > dependencies.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment