-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdeny.toml
47 lines (39 loc) · 945 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
34
35
36
37
38
39
40
41
42
43
44
45
46
all-features = true
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "warn"
[licenses]
unlicensed = "deny"
copyleft = "deny"
allow-osi-fsf-free = "neither"
default = "deny"
allow = [
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"ISC",
"Unicode-DFS-2016"
]
exceptions = [
# Only used in clack-host-cpal example, the executable is not distrubuted
{ allow = ["MPL-2.0"], name = "option-ext" }
]
[bans]
multiple-versions = "deny"
wildcards = "deny"
skip-tree = [
# This is just an example, it doesn't matter if there are duplicate dependencies in the build.
{ name = "clack-host-cpal" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
# List of URLs for allowed Git repositories
allow-git = [
"https://github.com/prokopyl/selfie",
"https://github.com/glowcoil/clap-sys",
]