Skip to content

Commit aeadf43

Browse files
committed
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.
1 parent 914da00 commit aeadf43

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

about.hbs

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Third Party Licenses
2+
3+
Overview of licenses:
4+
5+
{{#each overview}}
6+
{{{name}}} ({{count}})
7+
{{/each}}
8+
9+
All license text:
10+
11+
{{#each licenses}}
12+
{{{name}}}
13+
14+
Used by:
15+
16+
{{#each used_by}}
17+
{{crate.name}} {{crate.version}}
18+
<{{#if crate.repository}}{{crate.repository}}{{else}}https://crates.io/crates/{{crate.name}}{{/if}}>
19+
{{/each}}
20+
21+
{{{text}}}
22+
{{/each}}

about.toml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
accepted = [
2+
"MIT",
3+
"0BSD",
4+
"ISC",
5+
"Unlicense",
6+
"BSD-2-Clause",
7+
"BSD-3-Clause",
8+
"CC0-1.0",
9+
"MPL-2.0",
10+
"GPL-3.0",
11+
"OSL-3.0",
12+
"OpenSSL",
13+
"Unicode-DFS-2016",
14+
"Apache-2.0 WITH LLVM-exception",
15+
"Apache-2.0",
16+
"NOASSERTION",
17+
]

0 commit comments

Comments
 (0)