forked from DioxusLabs/taffy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
49 lines (44 loc) · 1.33 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
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "deny"
ignore = [
"RUSTSEC-2021-0145" # from criterion, used only for benchmarking
]
[licenses]
unlicensed = "deny"
copyleft = "deny"
allow = [
"MIT",
"Unicode-DFS-2016",
"Apache-2.0",
"Zlib",
"ISC",
"BSD-3-Clause"
]
default = "deny"
[bans]
multiple-versions = "deny"
wildcards = "deny"
highlight = "all"
# Certain crates/versions that will be skipped when doing duplicate detection.
skip = [
# Bypass problems with wildcard dependencies for dev-dependncies.
# Proper fix requires https://github.com/EmbarkStudios/cargo-deny/issues/448
{ name = "taffy" },
# This dependency won't actually end up in the final binary anyway as it a sub-dependency
# of num-cpus and atty only when targetting the hermit unikernel OS
# (https://github.com/hermitcore/rusty-hermit)
{ name = "hermit-abi" },
# Long-term we'll want to re-ban this. However it's going to take a while for the ecosystem to
# transition over to syn 2 and we don't want to block Taffy releases in the meantime.
{ name = "syn" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []