Skip to content

Commit

Permalink
build: Add cargo deny to check dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bbastin committed Aug 5, 2024
1 parent cd9d6a9 commit 7273898
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# SPDX-FileCopyrightText: 2024 Benedikt Bastin
#
# SPDX-License-Identifier: CC0-1.0

[graph]
targets = []
all-features = false
no-default-features = false

[output]
feature-depth = 1

[advisories]
ignore = []

[licenses]
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"AGPL-3.0",
"ISC",
"MPL-2.0",
"BSD-3-Clause",
"Unicode-DFS-2016",
]
confidence-threshold = 0.8
exceptions = []

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

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

[bans]
multiple-versions = "allow"
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 7273898

Please sign in to comment.