Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
58 lines (52 loc) · 2.25 KB
/
Copy pathdeny.toml
File metadata and controls
58 lines (52 loc) · 2.25 KB
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
# 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"
ignore = [
# Unmaintained (not vulnerable) crates that only the LLBC backend pulls in, through charon:
# `paste` directly, `atomic-polyfill` via postcard -> heapless. The LLBC backend is behind the
# `llbc` feature and not part of Kani releases.
{ id = "RUSTSEC-2024-0436", reason = "paste is unmaintained; only reached via charon" },
{ id = "RUSTSEC-2023-0089", reason = "atomic-polyfill is unmaintained; only reached via charon" },
]
# 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",
"Apache-2.0 WITH LLVM-exception",
"Unicode-3.0",
]
confidence-threshold = 0.8
# All these exceptions should probably appear in: tools/build-kani/license-notes.txt
exceptions = [
{ name = "foldhash", allow=["Zlib"] },
# Transitive dependencies via charon (LLBC backend)
{ name = "ustr", allow=["BSD-2-Clause-Patent"] },
# Transitive dependency of serde-saphyr in compiletest, our test runner, which is not part of
# Kani releases.
{ name = "encoding_rs", allow=["BSD-3-Clause"] },
]
[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"]