Skip to content

Commit

Permalink
Fix cargo deny check
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Aug 28, 2024
1 parent 176eedb commit 14fa1ae
Showing 1 changed file with 6 additions and 22 deletions.
28 changes: 6 additions & 22 deletions .deny.toml
Original file line number Diff line number Diff line change
@@ -1,41 +1,25 @@
# SPDX-FileCopyrightText: Copyright (c) 2017-2024 slowtec GmbH <[email protected]>
# SPDX-License-Identifier: CC0-1.0

all-features = false
no-default-features = false
feature-depth = 1
[graph]
all-features = true

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

[licenses]
unlicensed = "deny"
allow = [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"MPL-2.0",
"Unicode-DFS-2016",
]
copyleft = "warn"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8

[bans]
multiple-versions = "warn"
wildcards = "allow"
# Multiple versions of dependencies are inevitable and cannot be avoided.
# We habe no control over the dependencies of our dependencies.
multiple-versions = "allow"
highlight = "all"
workspace-default-features = "allow"
external-default-features = "allow"

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

0 comments on commit 14fa1ae

Please sign in to comment.