2024-03-05 13:51:42 +00:00
|
|
|
[graph]
|
2023-10-16 19:01:46 +00:00
|
|
|
# If true, metadata will be collected with `--all-features`.
|
|
|
|
all-features = true
|
|
|
|
|
|
|
|
[licenses]
|
2024-03-05 13:51:42 +00:00
|
|
|
version = 2
|
2023-10-16 19:01:46 +00:00
|
|
|
|
|
|
|
# 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",
|
2024-03-05 13:51:42 +00:00
|
|
|
"Unicode-3.0",
|
2023-10-16 19:01:46 +00:00
|
|
|
"MPL-2.0",
|
|
|
|
"BSL-1.0",
|
|
|
|
"CC0-1.0",
|
|
|
|
"OFL-1.1",
|
|
|
|
"LicenseRef-UFL-1.0",
|
2024-04-12 23:12:52 +00:00
|
|
|
"OpenSSL"
|
2023-10-16 19:01:46 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
# 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 = []
|
|
|
|
|
2024-04-12 23:12:52 +00:00
|
|
|
[[licenses.clarify]]
|
|
|
|
name = "ring"
|
|
|
|
expression = "MIT AND ISC AND OpenSSL"
|
|
|
|
license-files = [
|
|
|
|
{ path = "LICENSE", hash = 0xbd0eed23 }
|
|
|
|
]
|
|
|
|
|
2023-10-16 19:01:46 +00:00
|
|
|
[bans]
|
|
|
|
# Lint level for when multiple versions of the same crate are detected
|
|
|
|
multiple-versions = "warn"
|
|
|
|
|
2024-05-16 21:08:43 +00:00
|
|
|
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 },
|
|
|
|
]
|
2023-11-29 07:45:06 +00:00
|
|
|
|
2023-10-16 19:01:46 +00:00
|
|
|
[sources]
|
|
|
|
# Lint level for what to happen when a crate from a crate registry that is not
|
|
|
|
# in the allow list is encountered
|
2024-01-13 10:12:14 +00:00
|
|
|
unknown-registry = "deny"
|
2023-10-16 19:01:46 +00:00
|
|
|
# Lint level for what to happen when a crate from a git repository that is not
|
|
|
|
# in the allow list is encountered
|
2024-01-13 10:12:14 +00:00
|
|
|
unknown-git = "deny"
|
2023-10-16 19:01:46 +00:00
|
|
|
|
|
|
|
[sources.allow-org]
|
|
|
|
# github.com organizations to allow git sources for
|
|
|
|
github = [
|
|
|
|
"ruffle-rs",
|
2024-04-30 09:20:07 +00:00
|
|
|
# TODO: Remove once egui is updated to the first release
|
|
|
|
# with https://github.com/emilk/egui/pull/4160 in it.
|
|
|
|
"emilk",
|
2023-10-16 19:01:46 +00:00
|
|
|
]
|
2024-03-05 13:51:42 +00:00
|
|
|
|
|
|
|
[advisories]
|
|
|
|
version = 2
|