Skip to content

Commit

Permalink
Update cargo-deny config
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Nov 2, 2024
1 parent d2693d2 commit 54f2bd7
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
[advisories]
version = 2
db-path = "~/.cargo/advisory-db"
db-urls = [ "https://github.com/rustsec/advisory-db" ]
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "warn"

[licenses]
default = "deny"
unlicensed = "deny"
copyleft = "allow"
allow-osi-fsf-free = "osi"
version = 2
allow = [
"MIT",
"Apache-2.0",
"MPL-2.0",
"BSD-3-Clause",
"ISC",
"OpenSSL",
"Unicode-DFS-2016",
"Zlib",
]

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

[bans]
multiple-versions = "allow"

0 comments on commit 54f2bd7

Please sign in to comment.