Skip to content

Commit

Permalink
release: add configuration for cargo-about
Browse files Browse the repository at this point in the history
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
juped committed Dec 21, 2022
1 parent 914da00 commit aeadf43
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
22 changes: 22 additions & 0 deletions about.hbs
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}}
17 changes: 17 additions & 0 deletions about.toml
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",
]

0 comments on commit aeadf43

Please sign in to comment.