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
[]
= true
= false
[]
= [
]
[]
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
= [
"MIT",
"Apache-2.0",
"LGPL-3.0-only",
]
= [
]
# The confidence threshold for detecting a license from license text.
# The higher the value, the more closely the license text must be to the
# canonical license text of a valid SPDX license file.
# [possible values: any between 0.0 and 1.0].
= 0.8
# Allow 1 or more licenses on a per-crate basis, so that particular licenses
# aren't accepted for every possible crate as with the normal allow list
[]
= "allow"
# Must allow wildcard for now because macro crates come in through relative
# paths. That's normally fine, but crates.io doesn't allow it for published
# crates, so here we are.
= "allow"
= true
= "all"
= "allow"
= "allow"
# List of crates that are allowed. Use with care!
= [
#"ansi_term@0.11.0",
#{ crate = "ansi_term@0.11.0", reason = "you can specify a reason it is allowed" },
]
# List of crates to deny
= [
#"ansi_term@0.11.0",
#{ crate = "ansi_term@0.11.0", reason = "you can specify a reason it is banned" },
# Wrapper crates can optionally be specified to allow the crate when it
# is a direct dependency of the otherwise banned crate
#{ crate = "ansi_term@0.11.0", wrappers = ["this-crate-directly-depends-on-ansi_term"] },
]
#[[bans.skip]]
#name = "rustradio_macros"
[]
= "deny"
= "warn"
= ["https://github.com/rust-lang/crates.io-index"]
= []
[]
= []
= []
= []