Skip to content

Commit

Permalink
Update deny.toml to version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
redstrate committed Nov 3, 2024
1 parent 0d1c7e9 commit cbd47e2
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,20 @@
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "warn"
version = 2

[licenses]
unlicensed = "deny"
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"GPL-3.0",
"Unicode-DFS-2016" # used for unicode-ident
]
copyleft = "allow"
allow-osi-fsf-free = "both"
default = "deny"
confidence-threshold = 0.8

[bans]
multiple-versions = "deny"
wildcards = "warn"
highlight = "all"
skip-tree = [
# I HATE CRITERION AAAAAAAA
{ name = "criterion" }
]

[sources]
unknown-registry = "deny"
Expand Down

0 comments on commit cbd47e2

Please sign in to comment.