forked from orion-rs/orion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
36 lines (32 loc) · 931 Bytes
/
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
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
]
[advisories]
unmaintained = "deny"
yanked = "deny"
notice = "deny"
unsound = "deny"
vulnerability = "deny"
ignore = [
# serde_cbor is unmaintained, used in criterion.
# See https://github.com/bheisler/criterion.rs/issues/534
"RUSTSEC-2021-0127",
]
[licenses]
unlicensed = "deny"
# We want really high confidence when inferring licenses from text
confidence-threshold = 0.93
allow = [
"MIT",
"BSD-3-Clause",
"Apache-2.0",
]
[bans]
multiple-versions = "allow" # We don't maintain Cargo lockfile, so this isn't really feasible to deny
wildcards = "deny" # Dependencies should not have be specified with '*'
[sources]
unknown-registry = "deny" # crates.io is allowed and a known register by default
unknown-git = "deny"