generated from EmbarkStudios/opensource-template
-
Notifications
You must be signed in to change notification settings - Fork 11
/
deny.toml
51 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
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-pc-windows-msvc" },
]
# This crate is not published, exclude it since it triggers various warnings
# downstream users wouldn't see
exclude = ["minidumper-test"]
[advisories]
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
ignore = []
[licenses]
unlicensed = "deny"
allow = ["MIT", "Apache-2.0"]
copyleft = "deny"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8
exceptions = [{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" }]
[bans]
multiple-versions = "deny"
deny = [
# Incredibly heavyweight, we should never have a dependency on this
{ name = "windows" },
# We should never have a dependency on openssl
{ name = "openssl-sys" },
]
skip = [
# The crate is in the repo, so we have the path, but it's also a crates.io
# dependency
{ name = "crash-context" },
]
skip-tree = [
# parking_lot uses an old version https://github.com/Amanieu/parking_lot/pull/425,
# my original PR didn't have windows-targets since it's not needed at all,
# but it is what it is
{ name = "windows-targets", version = "=0.48.5" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-git = []
[sources.allow-org]
#github = ["rust-minidump"]