-
Notifications
You must be signed in to change notification settings - Fork 9
/
deny.toml
39 lines (34 loc) · 1.04 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
[advisories]
vulnerability = "deny"
unmaintained = "deny"
notice = "deny"
unsound = "deny"
ignore = []
[bans]
multiple-versions = "allow"
wildcards = "deny"
# private package can use wildcard paths such as `package.workspace = true`
allow-wildcard-paths = true
deny = []
[sources]
unknown-registry = "deny"
unknown-git = "deny"
# List of URLs for allowed crate registries. Defaults to the crates.io index
# if not specified. If it is specified but empty, no registries are allowed.
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# List of URLs for allowed Git repositories
allow-git = []
[licenses]
unlicensed = "deny"
allow-osi-fsf-free = "neither"
copyleft = "deny"
# We want really high confidence when inferring licenses from text
confidence-threshold = 0.93
# (extending this list is only allowed after agreement by TD management)
allow = ["Apache-2.0", "Apache-2.0 WITH LLVM-exception", "MIT"]
# ignore the local workspace crates
[licenses.private]
ignore = true
[[licenses.exceptions]]
allow = ["Unicode-DFS-2016"]
name = "unicode-ident"