-
Notifications
You must be signed in to change notification settings - Fork 11
/
deny.toml
62 lines (55 loc) · 1.92 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
[graph]
targets = ["wasm32-unknown-unknown"]
[output]
feature-depth = 1
[advisories]
ignore = [
{ id = "RUSTSEC-2024-0370", reason = "implicit dependency of yew" },
]
[licenses]
# generally, we want to stick to these licenses.
allow = [
"MIT",
"Apache-2.0",
]
confidence-threshold = 0.8
# exceptions are okay, as long as they are open-source compatible
exceptions = [
{ allow = ["Unicode-DFS-2016"], crate = "unicode-ident" },
{ allow = ["WTFPL"], crate = "subslice-offset" },
]
[licenses.private]
ignore = false
[bans]
multiple-versions = "deny"
wildcards = "deny"
highlight = "simplest-path"
# skip multiple version checks for these crates. feel free to add more here,
# the point of this list is so that we are aware of which dependency
# duplications we have. since yew depends on some outdated versions, we can't
# avoid some of them.
skip = [
{ crate = "syn", reason = "transitive dependency" },
{ crate = "serde-wasm-bindgen", reason = "transitive dependency" },
{ crate = "http", reason = "transitive dependency" },
{ crate = "gloo-worker", reason = "transitive dependency" },
{ crate = "gloo-utils", reason = "transitive dependency" },
{ crate = "gloo-timers", reason = "transitive dependency" },
{ crate = "gloo-storage", reason = "transitive dependency" },
{ crate = "gloo-render", reason = "transitive dependency" },
{ crate = "gloo-net", reason = "transitive dependency" },
{ crate = "gloo-history", reason = "transitive dependency" },
{ crate = "gloo-file", reason = "transitive dependency" },
{ crate = "gloo-events", reason = "transitive dependency" },
{ crate = "gloo-dialogs", reason = "transitive dependency" },
{ crate = "gloo-console", reason = "transitive dependency" },
{ crate = "gloo", reason = "transitive dependency" },
]
skip-tree = []
[sources]
unknown-registry = "deny"
unknown-git = "deny"
[sources.allow-org]
github = []
gitlab = []
bitbucket = []