-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
deny.toml
63 lines (57 loc) · 1.64 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
52
53
54
55
56
57
58
59
60
61
62
63
targets = [
{ triple = "x86_64-pc-windows-msvc" },
{ triple = "i686-pc-windows-msvc" },
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-apple-darwin" },
{ triple = "aarch64-apple-darwin" },
]
# If true, metadata will be collected with `--all-features`. Note that this can't
# be toggled off if true, if you want to conditionally enable `--all-features` it
# is recommended to pass `--all-features` on the cmd line instead
all-features = false
[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
notice = "warn"
unmaintained = "warn"
vulnerability = "deny"
yanked = "warn"
[licenses]
allow = [
"Apache-2.0",
"ISC",
"MIT",
"MPL-2.0",
"Zlib",
"BSD-2-Clause",
"BSD-3-Clause",
]
allow-osi-fsf-free = "neither"
confidence-threshold = 0.83
copyleft = "deny"
default = "deny"
exceptions = [
{ allow = ["OpenSSL"], name = "ring" },
{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" },
]
unlicensed = "deny"
[[licenses.clarify]]
expression = "MIT AND ISC AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
name = "ring"
version = "*"
[licenses.private]
ignore = false
# This section is considered when running `cargo deny check bans`.
# More documentation about the 'bans' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
external-default-features = "allow"
highlight = "all"
# Lint level for when multiple versions of the same crate are detected
multiple-versions = "warn"
wildcards = "allow"
workspace-default-features = "allow"
[sources]
unknown-git = "warn"
unknown-registry = "warn"