Skip to content

Commit

Permalink
fix: license/deny configs updated (#21)
Browse files Browse the repository at this point in the history
* fix: license/deny configs updated

* fix: not allowed licences moved to exceptions
  • Loading branch information
robert-affinidi authored Sep 19, 2024
1 parent f14b38f commit 445c3fe
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,47 +11,48 @@ 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",
"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",
]

exceptions = [
{ allow = ["OpenSSL"], crate = "ring" },
{ allow = ["CC-BY-SA-3.0"], crate = "ssi-contexts" },
{ allow = ["OpenSSL"], crate = "aws-lc-sys" },
{ allow = ["MPL-2.0"], crate = "bitmaps" },
{ allow = ["MPL-2.0"], crate = "webpki-roots" },
{ allow = ["MPL-2.0"], crate = "sized-chunks" },
{ allow = ["MPL-2.0", "W3C-20150513", "CC-BY-SA-3.0"], crate = "ssi-contexts" },
{ allow = ["MPL-2.0"], crate = "im" },
{ allow = ["MPL-2.0"], crate = "webpki-roots" },
{ allow = ["CC-BY-SA-3.0", "MPL-2.0"], crate = "sized-chunks" },
]

# Sigh
Expand Down

0 comments on commit 445c3fe

Please sign in to comment.