1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# https://embarkstudios.github.io/cargo-deny/index.html
[]
# The graph table configures how the dependency graph is constructed and thus what will be checked
# for license compliance and security advisories.
# The target field determines which targets are included in the dependency graph. By default,
# all targets are included. If you want to only check specific targets, you can specify them here.
# target = ["x86_64-unknown-linux-gnu"]
# The exclude field can be used to exclude specific dependencies from the dependency graph.
# This is useful for dependencies that are not distributed with your package but are only used
# during development or testing.
= []
# The features field can be used to include or exclude specific features from the dependency graph.
# This is useful if you want to check different feature combinations.
= []
[]
# Lint level for when multiple versions of the same license are detected
= "allow"
# Lint level for when a crate version requirement is `*`
= "allow"
# The graph highlighting used when creating dotgraphs for crates
= "all"
# The default lint level if no other predicates are matched
= [
#{ name = "some_crate", version = "*" },
]
= [
# Each entry the name of a crate and a version range. If version is
# not specified, all versions will be matched.
#{ name = "ansi_term", version = "*" },
]
# Certain crates/versions that will be skipped when doing duplicate detection.
= [
#{ name = "ansi_term", version = "*" },
]
# Similarly to `skip` allows you to skip certain crates from being checked. Unlike `skip`,
# `skip-tree` skips the crate and all of its dependencies entirely. Use this if you have a
# crate in your dependency tree that has a lot of optional dependencies that might not all
# be needed (e.g. a proc-macro that brings in a lot of compiler dependencies).
= [
#{ name = "some_crate", version = "*" },
]
[]
# List of explicitly allowed licenses
# https://spdx.org/licenses/
= [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-3-Clause",
"Unicode-3.0",
"0BSD",
"Zlib",
"BSL-1.0",
]
[]
# The scope of crates to check for being unmaintained
= "all"
# A list of advisory IDs to ignore
= [
#"RUSTSEC-0000-0000",
]