40 lines
927 B
TOML
40 lines
927 B
TOML
|
# Default configuration for cargo-deny
|
||
|
# See https://embarkstudios.github.io/cargo-deny/checks/cfg.html for more options
|
||
|
|
||
|
[advisories]
|
||
|
# Deny all advisories by default
|
||
|
vulnerability = "deny"
|
||
|
# Warn about unmaintained crates
|
||
|
unmaintained = "warn"
|
||
|
# Warn about crates that have been yanked from crates.io
|
||
|
yanked = "warn"
|
||
|
|
||
|
[licenses]
|
||
|
# A list of licenses compatible with GPL-3.0.
|
||
|
allow = [
|
||
|
"GPL-3.0",
|
||
|
"AGPL-3.0",
|
||
|
"MPL-2.0",
|
||
|
"Apache-2.0",
|
||
|
"Artistic-2.0",
|
||
|
"BSD-3-Clause",
|
||
|
"MIT",
|
||
|
"LGPL-2.0",
|
||
|
"LGPL-2.1",
|
||
|
"LGPL-3.0"
|
||
|
]
|
||
|
# How to handle crates that don't have a license specified
|
||
|
unlicensed = "deny"
|
||
|
# How to handle crates that have a license that isn't in the allow list
|
||
|
copyleft = "deny"
|
||
|
|
||
|
[bans]
|
||
|
# A list of crates that are not allowed to be used
|
||
|
deny = []
|
||
|
|
||
|
# Skip checking the following crates
|
||
|
skip = []
|
||
|
|
||
|
# A list of crates that are allowed to have multiple versions
|
||
|
multiple-versions = "warn"
|