| 1 |
# spell-checker:ignore SSLeay RUSTSEC |
| 2 |
|
| 3 |
# This section is considered when running `cargo deny check advisories` |
| 4 |
# More documentation for the advisories section can be found here: |
| 5 |
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html |
| 6 |
[advisories] |
| 7 |
db-path = "~/.cargo/advisory-db" |
| 8 |
db-urls = ["https://github.com/rustsec/advisory-db"] |
| 9 |
version = 2 |
| 10 |
yanked = "warn" |
| 11 |
ignore = [ |
| 12 |
#"RUSTSEC-0000-0000", |
| 13 |
] |
| 14 |
|
| 15 |
# This section is considered when running `cargo deny check licenses` |
| 16 |
# More documentation for the licenses section can be found here: |
| 17 |
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html |
| 18 |
[licenses] |
| 19 |
version = 2 |
| 20 |
allow = [ |
| 21 |
"MIT", |
| 22 |
"Apache-2.0", |
| 23 |
"ISC", |
| 24 |
"BSD-2-Clause", |
| 25 |
"BSD-3-Clause", |
| 26 |
"CC0-1.0", |
| 27 |
"Unicode-3.0", |
| 28 |
"Zlib", |
| 29 |
"MPL-2.0", |
| 30 |
] |
| 31 |
confidence-threshold = 0.8 |
| 32 |
|
| 33 |
[[licenses.clarify]] |
| 34 |
name = "ring" |
| 35 |
# SPDX considers OpenSSL to encompass both the OpenSSL and SSLeay licenses |
| 36 |
# https://spdx.org/licenses/OpenSSL.html |
| 37 |
# ISC - Both BoringSSL and ring use this for their new files |
| 38 |
# MIT - "Files in third_party/ have their own licenses, as described therein. The MIT |
| 39 |
# license, for third_party/fiat, which, unlike other third_party directories, is |
| 40 |
# compiled into non-test libraries, is included below." |
| 41 |
# OpenSSL - Obviously |
| 42 |
expression = "ISC AND MIT AND OpenSSL" |
| 43 |
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }] |
| 44 |
|
| 45 |
# This section is considered when running `cargo deny check bans`. |
| 46 |
# More documentation about the 'bans' section can be found here: |
| 47 |
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html |
| 48 |
[bans] |
| 49 |
multiple-versions = "deny" |
| 50 |
wildcards = "allow" |
| 51 |
highlight = "all" |
| 52 |
|
| 53 |
# For each duplicate dependency, indicate the name of the dependency which |
| 54 |
# introduces it. |
| 55 |
# spell-checker: disable |
| 56 |
skip = [ |
| 57 |
# notify |
| 58 |
{ name = "windows-sys", version = "0.60.2" }, |
| 59 |
# ansi-width |
| 60 |
{ name = "unicode-width", version = "0.1.13" }, |
| 61 |
# filedescriptor, utmp-classic |
| 62 |
{ name = "thiserror", version = "1.0.69" }, |
| 63 |
# thiserror |
| 64 |
{ name = "thiserror-impl", version = "1.0.69" }, |
| 65 |
# bindgen |
| 66 |
{ name = "itertools", version = "0.13.0" }, |
| 67 |
# codspeed-divan-compat-macros |
| 68 |
{ name = "itertools", version = "0.14.0" }, |
| 69 |
# ordered-multimap |
| 70 |
{ name = "hashbrown", version = "0.14.5" }, |
| 71 |
# lru (via num-prime) |
| 72 |
{ name = "hashbrown", version = "0.16.1" }, |
| 73 |
# cexpr (via bindgen) |
| 74 |
{ name = "nom", version = "7.1.3" }, |
| 75 |
# const-random-macro, rand_core |
| 76 |
{ name = "getrandom", version = "0.2.15" }, |
| 77 |
# num-bigint, num-prime, phf_generator |
| 78 |
{ name = "rand", version = "0.8.5" }, |
| 79 |
# rand |
| 80 |
{ name = "rand_chacha", version = "0.3.1" }, |
| 81 |
# rand |
| 82 |
{ name = "rand_core", version = "0.6.4" }, |
| 83 |
# utmp-classic |
| 84 |
{ name = "zerocopy", version = "0.7.35" }, |
| 85 |
# zerocopy |
| 86 |
{ name = "zerocopy-derive", version = "0.7.35" }, |
| 87 |
# crc-fast |
| 88 |
{ name = "digest", version = "0.10.7" }, |
| 89 |
# digest |
| 90 |
{ name = "crypto-common", version = "0.1.7" }, |
| 91 |
# various crates |
| 92 |
{ name = "syn", version = "2.0.117" }, |
| 93 |
# bindgen |
| 94 |
{ name = "shlex", version = "1.3.0" }, |
| 95 |
] |
| 96 |
# spell-checker: enable |
| 97 |
|
| 98 |
# This section is considered when running `cargo deny check sources`. |
| 99 |
# More documentation about the 'sources' section can be found here: |
| 100 |
# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html |
| 101 |
|
| 102 |
[sources] |
| 103 |
unknown-registry = "warn" |
| 104 |
unknown-git = "warn" |
| 105 |
allow-registry = ["https://github.com/rust-lang/crates.io-index"] |
| 106 |
allow-git = [] |