xref: /tonic/deny.toml (revision f4bc1fd1)
1a1a67539Stottoto[graph]
2d72818e5Stottotoall-features = true
3659983fbStottotoexclude = ["examples"]
4d72818e5Stottoto
5fbd91c37SJake Shadle[bans]
6fbd91c37SJake Shadlemultiple-versions = "deny"
7fbd91c37SJake Shadledeny = [
8fbd91c37SJake Shadle    # color-backtrace is nice but brings in too many dependencies and that are often outdated, so not worth it for us.
95e9d5204Stottoto    { crate = "color-backtrace" },
10fbd91c37SJake Shadle
11fbd91c37SJake Shadle    # dirs crate has a lot of dependencies and there are better alternatives
125e9d5204Stottoto    { crate = "dirs" },
135e9d5204Stottoto    { crate = "dirs-sys" },
14fbd91c37SJake Shadle
15fbd91c37SJake Shadle    # deprecated
165e9d5204Stottoto    { crate = "quickersort" },
17fbd91c37SJake Shadle
18fbd91c37SJake Shadle    # term is not fully maintained, and termcolor is replacing it
195e9d5204Stottoto    { crate = "term" },
20fbd91c37SJake Shadle]
21659983fbStottotoskip = [
22*f4bc1fd1Stottoto    { crate = "[email protected]", reason = "quickcheck depends on rand which depends on it" },
23*f4bc1fd1Stottoto    { crate = "[email protected]+wasi-snapshot-preview1", reason = "quickcheck depends on rand which depends on it" },
241449bd51Stottoto    { crate = "[email protected]", reason = "aws-lc-sys depends on bindgen which depends on it" },
25495ce643Stottoto    { crate = "[email protected]", reason = "protox depends on miette wich depends on it" },
26659983fbStottoto]
27fbd91c37SJake Shadleskip-tree = [
285e9d5204Stottoto    { crate = "windows-sys" },
295e9d5204Stottoto    { crate = "hermit-abi" },
30fbd91c37SJake Shadle]
31fbd91c37SJake Shadle
32fbd91c37SJake Shadle[licenses]
33a1a67539Stottotoversion = 2
34fbd91c37SJake Shadle# We want really high confidence when inferring licenses from text
35fbd91c37SJake Shadleconfidence-threshold = 0.92
36fbd91c37SJake Shadleallow = [
37fbd91c37SJake Shadle    "Apache-2.0",
38fbd91c37SJake Shadle    "ISC",
39fbd91c37SJake Shadle    "MIT",
40fbd91c37SJake Shadle    "OpenSSL",
41c70ba3f4Stottoto    "Unicode-3.0",
4230b8f07bSLucio Franco    "MPL-2.0",
43c17d4385SDirkjan Ochtman    "BSD-3-Clause",
44fbd91c37SJake Shadle]
45fbd91c37SJake Shadle
46fbd91c37SJake Shadle[[licenses.clarify]]
475e9d5204Stottotocrate = "ring"
48fbd91c37SJake Shadle# SPDX considers OpenSSL to encompass both the OpenSSL and SSLeay licenses
49fbd91c37SJake Shadle# https://spdx.org/licenses/OpenSSL.html
50fbd91c37SJake Shadle# ISC - Both BoringSSL and ring use this for their new files
51fbd91c37SJake Shadle# MIT - "Files in third_party/ have their own licenses, as described therein. The MIT
52fbd91c37SJake Shadle# license, for third_party/fiat, which, unlike other third_party directories, is
53fbd91c37SJake Shadle# compiled into non-test libraries, is included below."
54fbd91c37SJake Shadle# OpenSSL - Obviously
55fbd91c37SJake Shadleexpression = "ISC AND MIT AND OpenSSL"
56fbd91c37SJake Shadlelicense-files = [
57fbd91c37SJake Shadle    { path = "LICENSE", hash = 0xbd0eed23 },
58fbd91c37SJake Shadle]
59