-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from takkt-ag/licenses
Track and represent third-party licenses
- Loading branch information
Showing
8 changed files
with
7,409 additions
and
1 deletion.
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
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 @@ | ||
This folder contains various scripts and configurations, used by CI or otherwise. |
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,26 @@ | ||
# Third Party Licenses | ||
|
||
This page lists the licenses of the projects used in Persevere. | ||
|
||
## Overview of licenses | ||
|
||
{{#each overview}} | ||
- [{{name}}](#{{id}}) ({{count}}) | ||
{{/each}} | ||
|
||
## All license text | ||
|
||
{{#each licenses}} | ||
### <a name="{{id}}"></a>{{name}} | ||
|
||
#### Used by | ||
|
||
{{#each used_by}} | ||
- [{{crate.name}} {{crate.version}}]({{#if crate.repository}} {{crate.repository}} {{else}} https://crates.io/crates/{{crate.name}} {{/if}}) | ||
{{/each}} | ||
|
||
<pre> | ||
{{text}} | ||
</pre> | ||
|
||
{{/each}} |
File renamed without changes.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,16 @@ | ||
accepted = [ | ||
"Apache-2.0", | ||
"BSD-3-Clause", | ||
"ISC", | ||
"MIT", | ||
] | ||
workarounds = ["ring"] | ||
|
||
[ring] | ||
accepted = ["OpenSSL"] | ||
|
||
[unicode-ident] | ||
accepted = ["Unicode-DFS-2016"] | ||
|
||
[foldhash] | ||
accepted = ["Zlib"] |
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,36 @@ | ||
[licenses] | ||
confidence-threshold = 0.93 | ||
allow = [ | ||
"Apache-2.0", | ||
"BSD-3-Clause", | ||
"ISC", | ||
"MIT", | ||
] | ||
|
||
exceptions = [ | ||
# ring uses code from multiple libraries but all with permissive licenses | ||
# https://tldrlegal.com/license/openssl-license-(openssl) | ||
{ allow = ["ISC", "MIT", "OpenSSL"], name = "ring" }, | ||
|
||
# Unicode-DFS-2016 is a permissive license, if attribution in associated documentation is provided | ||
{ allow = ["Unicode-DFS-2016"], crate = "unicode-ident" }, | ||
|
||
# Zlib is a permissive license akin to MIT | ||
{ allow = ["Zlib"], crate = "foldhash"}, | ||
] | ||
|
||
[[licenses.clarify]] | ||
name = "ring" | ||
expression = "ISC AND MIT AND OpenSSL" | ||
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }] | ||
|
||
[bans] | ||
wildcards = "deny" | ||
multiple-versions = "warn" | ||
|
||
[sources] | ||
unknown-registry = "deny" | ||
allow-registry = ["https://github.com/rust-lang/crates.io-index"] | ||
|
||
unknown-git = "deny" | ||
allow-git = [] |