aboutsummaryrefslogtreecommitdiffstats
path: root/deny.toml
blob: 8f565dceb9fa3d8371217f87a4fc836de07d395b (plain) (blame)
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
targets = [
    { triple = "x86_64-unknown-linux-musl" },
    { triple = "x86_64-unknown-linux-gnu" },
]

[advisories]
yanked = "deny"
unsound = "deny"

[bans]
deny = [
    { name = "openssl-sys" },
]
skip = [
    # this is pulled in by rsa -> num-bigint-dig, but it's just a build dep so
    # i don't care much
    { name = "autocfg", version = "0.1.7" }
]

[licenses]
allow = ["MIT", "BSD-3-Clause", "Apache-2.0", "ISC"]
copyleft = "deny"
exceptions = [
    { name = "ring", allow = ["OpenSSL", "MIT", "ISC"] }
]

[[licenses.clarify]]
name = "ring"
version = "*"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
    { path = "LICENSE", hash = 0xbd0eed23 }
]

[[licenses.clarify]]
name = "encoding_rs"
version = "*"
expression = "(Apache-2.0 OR MIT) AND BSD-3-Clause"
license-files = [
    { path = "COPYRIGHT", hash = 0x39f8ad31 }
]