-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
55 lines (46 loc) · 1.32 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
# More information: https://embarkstudios.github.io/cargo-deny/index.html
targets = [
{ 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" },
]
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "warn"
yanked = "warn"
notice = "warn"
[licenses]
allow = [
"MIT",
"Apache-2.0",
"BSL-1.0",
"BSD-3-Clause",
"ISC",
"MPL-2.0",
"Unicode-DFS-2016",
]
# Deny all copyleft and other not explicitly allowed licenses
unlicensed = "warn"
copyleft = "deny"
allow-osi-fsf-free = "neither"
default = "deny"
# Some crates require weird licenses, exceptions for those crates can be made here
exceptions = []
# The confidence threshold for detecting a license from license text.
# The higher the value, the more closely the license text must be to the
# canonical license text of a valid SPDX license file.
confidence-threshold = 0.8
[bans]
multiple-versions = "warn"
wildcards = "allow"
highlight = "all"
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []