-
Notifications
You must be signed in to change notification settings - Fork 2
/
deny.toml
56 lines (47 loc) · 1.3 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
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "aarch64-apple-darwin" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
]
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "deny"
severity-threshold = "medium"
[licenses]
default = "allow"
copyleft = "deny"
private = { ignore = true }
[[licenses.clarify]]
name = "ring"
version = "*"
expression = "MIT AND ISC AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
[[licenses.exceptions]]
name = "webpki-roots"
version = "*"
allow = ["MPL-2.0"]
[[licenses.exceptions]]
name = "option-ext"
version = "*"
allow = ["MPL-2.0"]
[bans]
multiple-versions = "warn"
wildcards = "allow"
highlight = "all"
# Windows uses openssl now, should still not be on other platforms
# [[bans.deny]]
# name = "openssl"
# this is mistaken for tempfile sometimes
[[bans.deny]]
name = "tempdir"
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = ["https://github.com/katoahq/buildkit-rs"]