-
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.
feat: cargo deny & workspace settings (#13)
- Loading branch information
Showing
7 changed files
with
99 additions
and
17 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,48 @@ | ||
[graph] | ||
# Cargo deny will check dependencies via `--all-features` | ||
all-features = true | ||
|
||
[sources] | ||
unknown-registry = "deny" | ||
|
||
[licenses] | ||
version = 2 | ||
# We want really high confidence when inferring licenses from text | ||
confidence-threshold = 1.0 | ||
|
||
# List of explicitly allowed licenses | ||
# See https://spdx.org/licenses/ for list of possible licenses | ||
allow = [ | ||
"0BSD", | ||
"Apache-2.0 WITH LLVM-exception", | ||
"Apache-2.0", | ||
"BSD-2-Clause", | ||
# "BSD-2-Clause-Patent", | ||
"BSD-3-Clause", | ||
"BSL-1.0", | ||
"CC0-1.0", | ||
"ISC", | ||
"LicenseRef-ring", # See https://github.com/briansmith/ring/blob/95948b3977013aed16db92ae32e6b8384496a740/deny.toml#L12 | ||
"MIT", | ||
"MPL-2.0", # Although this is copyleft, it is scoped to modifying the original files | ||
# "OpenSSL", | ||
"Unicode-DFS-2016", | ||
"Unicode-3.0", | ||
"Unlicense", | ||
"Zlib", | ||
] | ||
|
||
# See https://github.com/briansmith/ring/blob/95948b3977013aed16db92ae32e6b8384496a740/deny.toml#L12 | ||
[[licenses.clarify]] | ||
name = "ring" | ||
expression = "LicenseRef-ring" | ||
license-files = [ | ||
{ path = "LICENSE", hash = 0xbd0eed23 }, | ||
] | ||
|
||
# Ignore unmaintained required crates warning (2024-11-22) | ||
[advisories] | ||
ignore = [ | ||
"RUSTSEC-2024-0370", # Unmaintained `proc-macro-error` | ||
"RUSTSEC-2024-0388", # Unmaintained `derivative` | ||
] |
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