-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdeny.toml
65 lines (58 loc) · 1.73 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
targets = [
# Desktop
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "aarch64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "aarch64-apple-darwin" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
# WASM
{ triple = "wasm32-unknown-unknown" },
# iOS
{ triple = "aarch64-apple-ios-sim" },
{ triple = "x86_64-apple-ios" },
{ triple = "aarch64-apple-ios" },
# Android
{ triple = "aarch64-linux-android" },
{ triple = "armv7-linux-androideabi" },
{ triple = "x86_64-linux-android" },
]
[advisories]
# TODO: use more conservative values when we come close to production
vulnerability = "warn"
[bans]
multiple-versions = "allow"
[licenses]
unlicensed = "deny"
allow-osi-fsf-free = "both"
copyleft = "allow"
unused-allowed-license = "warn"
confidence-threshold = 0.93
allow = ["Apache-2.0", "Apache-2.0 WITH LLVM-exception", "MIT", "MPL-2.0", "GPL-3.0", "BSD-2-Clause", "OpenSSL"]
exceptions = [{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" }]
[[licenses.clarify]]
name = "ring"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 }
]
[[licenses.clarify]]
name = "encoding_rs"
expression = "MIT OR Apache-2.0"
license-files = [
{ path = "COPYRIGHT", hash = 0x39f8ad31 }
]
[[licenses.clarify]]
name = "webpki"
expression = "ISC"
license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]
[sources]
private = [
"https://github.com/wireapp",
# for criterion (test only)
"https://github.com/bheisler",
# TODO: remove when no longer required
"https://github.com/otak",
# TODO: remove when a stable ring version is published
"https://github.com/briansmith",
]