-
Notifications
You must be signed in to change notification settings - Fork 95
/
deny.toml
46 lines (40 loc) · 1.57 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
# Copyright Kani Contributors
# SPDX-License-Identifier: Apache-2.0 OR MIT
# 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]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
yanked = "deny"
# 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]
allow = [
"MIT",
"Apache-2.0",
"MPL-2.0",
]
confidence-threshold = 0.8
# All these exceptions should probably appear in: tools/build-kani/license-notes.txt
exceptions = [
{ name = "unicode-ident", allow=["Unicode-3.0"] },
{ name = "rustc_apfloat", allow=["Apache-2.0 WITH LLVM-exception"] },
]
[licenses.private]
ignore = false
# This section is considered when running `cargo deny check bans`.
# More documentation about the 'bans' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
multiple-versions = "warn"
wildcards = "allow"
# This section is considered when running `cargo deny check sources`.
# More documentation about the 'sources' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = ["https://github.com/Nadrieril/tracing-tree"]