2021-05-17 23:07:18 +00:00
|
|
|
[advisories]
|
|
|
|
db-path = "~/.cargo/advisory-db"
|
|
|
|
db-urls = ["https://github.com/rustsec/advisory-db"]
|
|
|
|
vulnerability = "deny"
|
|
|
|
unmaintained = "deny"
|
|
|
|
yanked = "deny"
|
|
|
|
notice = "deny"
|
|
|
|
ignore = [
|
|
|
|
"RUSTSEC-2020-0016", # net2 deprecated - https://github.com/deprecrated/net2-rs/commit/3350e3819adf151709047e93f25583a5df681091
|
|
|
|
"RUSTSEC-2020-0056", # stdweb unmaintained - https://github.com/koute/stdweb/issues/403
|
|
|
|
"RUSTSEC-2021-0047", # security issue - https://github.com/gnzlbg/slice_deque/issues/90
|
|
|
|
]
|
|
|
|
|
|
|
|
[licenses]
|
|
|
|
unlicensed = "deny"
|
|
|
|
copyleft = "deny"
|
|
|
|
allow = [
|
|
|
|
"MIT",
|
|
|
|
"Apache-2.0",
|
|
|
|
"BSD-3-Clause",
|
|
|
|
"ISC",
|
|
|
|
"Zlib",
|
|
|
|
"0BSD",
|
|
|
|
"BSD-2-Clause",
|
|
|
|
"CC0-1.0",
|
|
|
|
"MPL-2.0",
|
|
|
|
]
|
|
|
|
default = "deny"
|
|
|
|
|
|
|
|
[[licenses.clarify]]
|
|
|
|
name = "stretch"
|
|
|
|
expression = "MIT"
|
|
|
|
license-files = []
|
|
|
|
|
|
|
|
[bans]
|
|
|
|
multiple-versions = "deny"
|
|
|
|
wildcards = "deny"
|
|
|
|
highlight = "all"
|
|
|
|
# Certain crates/versions that will be skipped when doing duplicate detection.
|
|
|
|
skip = [
|
|
|
|
{ name = "ahash", version = "0.4" },
|
|
|
|
{ name = "android_log-sys", version = "0.1" },
|
|
|
|
{ name = "cfg-if", version = "0.1" }, # https://github.com/rustwasm/console_error_panic_hook/pull/18
|
|
|
|
{ name = "core-foundation", version = "0.6" },
|
|
|
|
{ name = "core-foundation", version = "0.7" },
|
|
|
|
{ name = "core-foundation-sys", version = "0.6" },
|
|
|
|
{ name = "core-foundation-sys", version = "0.7" },
|
|
|
|
{ name = "core-graphics", version = "0.19" },
|
2021-05-18 23:27:01 +00:00
|
|
|
{ name = "crossbeam-channel", version = "0.4" },
|
|
|
|
{ name = "crossbeam-utils", version = "0.7" },
|
2021-05-17 23:07:18 +00:00
|
|
|
{ name = "fixedbitset", version = "0.2" },
|
2021-05-18 23:27:01 +00:00
|
|
|
{ name = "getrandom", version = "0.1" },
|
2021-05-17 23:07:18 +00:00
|
|
|
{ name = "libm", version = "0.1" },
|
|
|
|
{ name = "mach", version = "0.2" },
|
|
|
|
{ name = "ndk", version = "0.2" },
|
|
|
|
{ name = "ndk-glue", version = "0.2" },
|
|
|
|
{ name = "num_enum", version = "0.4" },
|
|
|
|
{ name = "num_enum_derive", version = "0.4" },
|
2021-05-18 23:27:01 +00:00
|
|
|
{ name = "rand", version = "0.7" },
|
|
|
|
{ name = "rand_chacha", version = "0.2" },
|
|
|
|
{ name = "rand_core", version = "0.5" },
|
|
|
|
{ name = "rand_hc", version = "0.2" },
|
2021-05-17 23:07:18 +00:00
|
|
|
{ name = "stdweb", version = "0.1" },
|
2021-05-18 23:27:01 +00:00
|
|
|
{ name = "wasi", version = "0.9" },
|
2021-05-17 23:07:18 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[sources]
|
|
|
|
unknown-registry = "deny"
|
|
|
|
unknown-git = "deny"
|
|
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
|
|
|
allow-git = []
|