-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
47 lines (42 loc) · 1.02 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
# `cargo-deny` configuration.
feature-depth = 1
[advisories]
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "warn"
severity-threshold = "Medium"
[licenses]
unlicensed = "deny"
allow = [
# Permissive open-source licenses
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"Unicode-DFS-2016",
]
copyleft = "deny"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8
[bans]
multiple-versions = "deny"
wildcards = "deny"
skip = [
# Old version used by `gloo` crates; hopefully, will updated soon
{ name = "serde-wasm-bindgen", version = "^0.5" },
]
skip-tree = [
# Build dependency that produces several multiple versions
{ name = "toml", version = "^0.8" },
# Dependency that relies on old versions of `gloo*`
{ name = "prokio", version = "^0.1" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-git = [
# Allow depending on a git version of the "main" dependency
"https://github.com/slowli/elastic-elgamal.git",
]