Skip to content

Commit

Permalink
Add config for cargo-deny
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Oct 1, 2023
1 parent fa37696 commit 72f28a4
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SPDX-FileCopyrightText: The djio authors
# SPDX-License-Identifier: CC0-1.0

[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "warn"
yanked = "warn"
notice = "warn"

[licenses]
default = "deny"
unlicensed = "deny"
copyleft = "warn"
allow = [
"Apache-2.0",
"MIT",
"MPL-2.0",
"Unicode-DFS-2016",
]

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

0 comments on commit 72f28a4

Please sign in to comment.