-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeny.toml
89 lines (77 loc) · 2.49 KB
/
deny.toml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# SPDX-FileCopyrightText: 2025 Joost van der Laan <[email protected]>
#
# SPDX-License-Identifier: AGPL-3.0-only
# This template contains all of the possible sections and their default values
# If 1 or more target triples (and optionally, target_features) are specified,
# only the specified targets will be checked when running `cargo deny check`.
[graph]
targets = [
# The triple can be any string, but only the target triples built in to
# rustc (as of 1.40) can be checked against actual config expressions
#{ triple = "x86_64-unknown-linux-musl" },
# You can also specify which target_features you promise are enabled for a
# particular target. target_features are currently not validated against
# the actual valid features supported by the target architecture.
#{ triple = "wasm32-unknown-unknown", features = ["atomics"] },
]
# This section is considered when running `cargo deny check advisories`
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
version = 2
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
git-fetch-with-cli = true
disable-yank-checking = false
maximum-db-staleness = "P7D"
# A list of advisory IDs to ignore
ignore = []
# This section is considered when running `cargo deny check licenses`
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
# Confidence threshold for license detection (0.0 to 1.0)
confidence-threshold = 0.8
# List of explicitly allowed licenses
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSL-1.0",
"BSD-3-Clause",
"MPL-2.0",
"Unicode-3.0",
"ISC"
]
[licenses.private]
ignore = false
registries = []
# Allow 1 or more licenses on a per-crate basis
[[licenses.clarify]]
name = "rug"
version = "*"
expression = "GPL-3.0 OR LGPL-3.0"
license-files = []
[[licenses.clarify]]
name = "gmp-mpfr-sys"
version = "*"
expression = "GPL-3.0 OR LGPL-3.0"
license-files = []
[[licenses.clarify]]
name = "strand"
version = "*"
expression = "AGPL-3.0"
license-files = []
# This section is considered when running `cargo deny check bans`.
[bans]
multiple-versions = "warn"
wildcards = "allow"
highlight = "all"
allow = []
deny = []
skip = []
skip-tree = []
# This section is considered when running `cargo deny check sources`.
[sources]
unknown-registry = "warn"
unknown-git = "warn"