Skip to content

Commit

Permalink
feat(ci): Add deny config
Browse files Browse the repository at this point in the history
This includes a non exclusive list of license we allow in this project
due to license compatibility.
  • Loading branch information
DanielVoogsgerd committed Oct 5, 2024
1 parent 30e8c50 commit 0933807
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
[graph]
targets = []
all-features = false
no-default-features = false

[output]
feature-depth = 1

[advisories]
ignore = []

[licenses]
allow = [
"MIT",
"ISC",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"Unicode-DFS-2016",
"Unlicense",
"BSD-3-Clause",
"Zlib",
"OpenSSL",
]

confidence-threshold = 0.8

exceptions = []

# Do not warn for allowed licenses that are not used.
unused-allowed-license = "allow"

[[licenses.clarify]]
crate = "ring"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 }
]

[licenses.private]
ignore = false
registries = [
]

[bans]
multiple-versions = "warn"
wildcards = "allow"
highlight = "all"
workspace-default-features = "allow"
external-default-features = "allow"
allow = []
deny = []
skip = []
skip-tree = []

[sources]
unknown-registry = "warn"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []

[sources.allow-org]
github = [""]
gitlab = [""]
bitbucket = [""]

0 comments on commit 0933807

Please sign in to comment.