-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release: add configuration for cargo-about
cargo-about is a tool from Embark that walks cargo dependencies for all third party licenses. Include its configuration file and a template to generate a third party license file.
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Third Party Licenses | ||
|
||
Overview of licenses: | ||
|
||
{{#each overview}} | ||
{{{name}}} ({{count}}) | ||
{{/each}} | ||
|
||
All license text: | ||
|
||
{{#each licenses}} | ||
{{{name}}} | ||
|
||
Used by: | ||
|
||
{{#each used_by}} | ||
{{crate.name}} {{crate.version}} | ||
<{{#if crate.repository}}{{crate.repository}}{{else}}https://crates.io/crates/{{crate.name}}{{/if}}> | ||
{{/each}} | ||
|
||
{{{text}}} | ||
{{/each}} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
accepted = [ | ||
"MIT", | ||
"0BSD", | ||
"ISC", | ||
"Unlicense", | ||
"BSD-2-Clause", | ||
"BSD-3-Clause", | ||
"CC0-1.0", | ||
"MPL-2.0", | ||
"GPL-3.0", | ||
"OSL-3.0", | ||
"OpenSSL", | ||
"Unicode-DFS-2016", | ||
"Apache-2.0 WITH LLVM-exception", | ||
"Apache-2.0", | ||
"NOASSERTION", | ||
] |