forked from ruffle-rs/ruffle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
86 lines (74 loc) · 2.12 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[graph]
# If true, metadata will be collected with `--all-features`.
all-features = true
[licenses]
version = 2
# List of explicitly allowed licenses
allow = [
"MIT",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"Zlib",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"Unicode-DFS-2016",
"Unicode-3.0",
"MPL-2.0",
"BSL-1.0",
"CC0-1.0",
"OFL-1.1",
"LicenseRef-UFL-1.0",
"OpenSSL"
]
# Some crates don't have (easily) machine readable licensing information,
# adding a clarification entry for it allows you to manually specify the
# licensing information.
# Some parts of NihAV were kindly relicenced for us under MIT by the author.
# See: https://codecs.multimedia.cx/nihav-relicensed-code/
[[licenses.clarify]]
name = "nihav_core"
expression = "MIT"
license-files = []
[[licenses.clarify]]
name = "nihav_duck"
expression = "MIT"
license-files = []
[[licenses.clarify]]
name = "nihav_codec_support"
expression = "MIT"
license-files = []
[[licenses.clarify]]
name = "ring"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 }
]
[bans]
# Lint level for when multiple versions of the same crate are detected
multiple-versions = "warn"
deny = [
# We are manually pinning `tracing-tracy` to match the version used by
# `profiling`, but this can get stale easily.
{ name = "tracy-client", deny-multiple-versions = true },
# Having multiple versions of this can silently cause images (such as
# the logo in the about dialog) in egui to not appear.
{ name = "image", deny-multiple-versions = true },
]
[sources]
# Lint level for what to happen when a crate from a crate registry that is not
# in the allow list is encountered
unknown-registry = "deny"
# Lint level for what to happen when a crate from a git repository that is not
# in the allow list is encountered
unknown-git = "deny"
[sources.allow-org]
# github.com organizations to allow git sources for
github = [
"ruffle-rs",
# TODO: Remove once egui is updated to the first release
# with https://github.com/emilk/egui/pull/4160 in it.
"emilk",
]
[advisories]
version = 2