|
| 1 | +# This section is considered when running `cargo deny check advisories` |
| 2 | +# More documentation for the advisories section can be found here: |
| 3 | +# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html |
| 4 | +[advisories] |
| 5 | +version = 2 # https://github.com/EmbarkStudios/cargo-deny/pull/611 |
| 6 | +db-path = "~/.cargo/advisory-db" |
| 7 | +db-urls = ["https://github.com/rustsec/advisory-db"] |
| 8 | + |
| 9 | +ignore = [ |
| 10 | + # Ignored audit issues. This list should be kept short, and effort should be |
| 11 | + # put into removing items from the list. |
| 12 | + # RUSTSEC-2023-0081 - `safemem` is unmaintained: https://github.com/ebarnard/rust-plist/pull/134 |
| 13 | + "RUSTSEC-2023-0081" |
| 14 | +] |
| 15 | + |
| 16 | +#severity-threshold = |
| 17 | + |
| 18 | + |
| 19 | +# This section is considered when running `cargo deny check licenses` |
| 20 | +# More documentation for the licenses section can be found here: |
| 21 | +# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html |
| 22 | +[licenses] |
| 23 | +version = 2 # https://github.com/EmbarkStudios/cargo-deny/pull/611 |
| 24 | + |
| 25 | +# Adding a license here has to be done carefully. Should not be changed |
| 26 | +# by individual developers. |
| 27 | +allow = [ |
| 28 | + "GPL-3.0", |
| 29 | + "Apache-2.0", |
| 30 | + "MIT", |
| 31 | + "WTFPL", |
| 32 | + "ISC", |
| 33 | + "BSD-3-Clause", |
| 34 | + "BSD-2-Clause", |
| 35 | + "CC0-1.0", |
| 36 | + "MPL-2.0", |
| 37 | + # https://github.com/briansmith/ring/issues/902 |
| 38 | + "LicenseRef-ring", |
| 39 | + "Unicode-DFS-2016" |
| 40 | +] |
| 41 | + |
| 42 | +confidence-threshold = 0.8 |
| 43 | + |
| 44 | +exceptions = [] |
| 45 | + |
| 46 | +[[licenses.clarify]] |
| 47 | +name = "ring" |
| 48 | +expression = "LicenseRef-ring" |
| 49 | +license-files = [ |
| 50 | + { path = "LICENSE", hash = 0xbd0eed23 } |
| 51 | +] |
| 52 | + |
| 53 | +[licenses.private] |
| 54 | +ignore = false |
| 55 | +registries = [] |
| 56 | + |
| 57 | +# This section is considered when running `cargo deny check bans`. |
| 58 | +# More documentation about the 'bans' section can be found here: |
| 59 | +# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html |
| 60 | +[bans] |
| 61 | +multiple-versions = "warn" |
| 62 | +wildcards = "warn" |
| 63 | +highlight = "all" |
| 64 | + |
| 65 | +allow = [] |
| 66 | +deny = [ |
| 67 | + { name = "clap", version = "2" }, |
| 68 | + { name = "clap", version = "3" }, |
| 69 | + # `atty` is an unmaintained crate with a CVE: RUSTSEC-2021-0145 |
| 70 | + { name = "atty" }, |
| 71 | + { name = "time", version = "0.1"}, |
| 72 | +] |
| 73 | +skip = [] |
| 74 | +skip-tree = [] |
| 75 | + |
| 76 | +# This section is considered when running `cargo deny check sources`. |
| 77 | +# More documentation about the 'sources' section can be found here: |
| 78 | +# https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html |
| 79 | +[sources] |
| 80 | +unknown-registry = "deny" |
| 81 | +unknown-git = "deny" |
| 82 | +allow-registry = ["https://github.com/rust-lang/crates.io-index"] |
| 83 | +# If we need to temporarily depend on a git repository in our Rust dependency tree, |
| 84 | +# it has to be added here. We should try to keep this list minimal. Having git |
| 85 | +# dependencies is not recommended. |
| 86 | +allow-git = [] |
| 87 | + |
| 88 | +[sources.allow-org] |
| 89 | +# 1 or more github.com organizations to allow git sources for |
| 90 | +github = ["mullvad"] |
| 91 | + |
| 92 | +[graph] |
| 93 | +targets = [ |
| 94 | + { triple = "x86_64-unknown-linux-gnu" }, |
| 95 | + { triple = "x86_64-pc-windows-gnu" }, |
| 96 | + { triple = "x86_64-apple-darwin" }, |
| 97 | + { triple = "aarch64-apple-darwin" } |
| 98 | +] |
0 commit comments