Skip to content

Commit

Permalink
fix: license/deny configs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-affinidi committed Sep 18, 2024
1 parent 29aec70 commit ed2d2d5
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,43 +11,47 @@ multiple-versions = "allow"
# We want really high confidence when inferring licenses from text
confidence-threshold = 0.93
allow = [
"Apache-1.1",
"Apache-2.0",
"BSL-1.0",
"BSD-1-Clause",
"BSD-2-Clause",
"BSD-3-Clause",
"0BSD",
"CC0-1.0",
"WTFPL",
"Fair",
"Intel",
"ISC",
"MIT-0",
"MIT",
"MIT-Modern-Variant",
"MulanPSL-2.0",
"Multics",
"Naumen",
"PHP-3.01",
"PostgreSQL",
"Python-2.0",
"OFL-1.1",
"MirOS",
"Unlicense",
"Unicode-DFS-2016",
"UPL-1.0",
"NCSA",
"Zlib",
"AFL-2.1",
"OpenSSL",
"ISC",
"MPL-2.0",
"W3C-20150513",
# As stated here https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html#spdx-identifiers
# 3.11 versions of SPDX License List was used and below licenses are not included there.
# They are commented to avoid "[license-not-encountered]" warnings.
# "Apache-1.1",
# "WTFPL",
# "Fair",
# "Intel",
# "MIT-Modern-Variant",
# "MulanPSL-2.0",
# "Multics",
# "Naumen",
# "PHP-3.01",
# "PostgreSQL",
# "Python-2.0",
# "OFL-1.1",
# "MirOS",
# "UPL-1.0",
# "NCSA",
# "AFL-2.1",
# "ISC",
]

exceptions = [
{ allow = ["OpenSSL"], crate = "ring" },
{ allow = ["CC-BY-SA-3.0"], crate = "ssi-contexts" },
]

# Sigh
Expand Down

0 comments on commit ed2d2d5

Please sign in to comment.