-
Notifications
You must be signed in to change notification settings - Fork 9
/
deny.toml
33 lines (28 loc) · 904 Bytes
/
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
[advisories]
version = 2
yanked = "warn"
[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]
# 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", "MIT"]
# ignore the local workspace crates
[licenses.private]
ignore = true
[[licenses.exceptions]]
allow = ["Unicode-DFS-2016"]
name = "unicode-ident"