summaryrefslogtreecommitdiffstats
path: root/vendor/orion/deny.toml
blob: f0b0f321a2ca2183f454561a9cc31b86ca9213e0 (plain)
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
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",
    # atty has unaligned read, used in criterion.
    # See https://github.com/bheisler/criterion.rs/issues/629
    "RUSTSEC-2021-0145",
]

[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",
]
exceptions = [
    { allow = [
        "Unicode-DFS-2016",
    ], name = "unicode-ident" },
]

[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"