forked from vercel/turborepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add licenses to all crates, deny dependencies without a license or wi…
…th an incompatible license (vercel#106) For this, we're using https://github.com/EmbarkStudios/cargo-deny, which will check all dependencies transitively for any incompatible/missing license. There are other interesting checks in there, but for now this is the most important. Co-authored-by: Tobias Koppers <[email protected]>
- Loading branch information
Showing
2 changed files
with
38 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
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 @@ | ||
[licenses] | ||
unlicensed = "deny" | ||
allow-osi-fsf-free = "neither" | ||
copyleft = "deny" | ||
# We want really high confidence when inferring licenses from text | ||
confidence-threshold = 0.93 | ||
allow = [ | ||
"Apache-2.0", | ||
"Apache-2.0 WITH LLVM-exception", | ||
"MIT", | ||
"MPL-2.0", | ||
# enum-iterator* | ||
"0BSD", | ||
# base16, notify | ||
"CC0-1.0", | ||
# Inflector, hyper-tungstenite | ||
"BSD-2-Clause", | ||
# inotify*, libloading, is_ci | ||
"ISC", | ||
# fuchsia-zircon*, instant, sourcemap | ||
"BSD-3-Clause", | ||
# unicode-ident | ||
"Unicode-DFS-2016", | ||
# portpicker | ||
"Unlicense", | ||
] |