Skip to content

Commit 9eeaa8a

Browse files
committed
🐛 fix deny.toml
1 parent 52cfdea commit 9eeaa8a

File tree

1 file changed

+32
-20
lines changed

1 file changed

+32
-20
lines changed

deny.toml

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# add whatever else we support.
1+
[graph]
22
targets = [
33
{ triple = "x86_64-unknown-linux-gnu" },
44
{ triple = "x86_64-unknown-linux-musl" },
@@ -16,38 +16,50 @@ targets = [
1616
]
1717

1818
[advisories]
19+
db-path = "~/.cargo/advisory-db"
20+
db-urls = ["https://github.com/rustsec/advisory-db"]
1921
vulnerability = "deny"
20-
unmaintained = "warn"
2122
yanked = "deny"
22-
ignore = [
23-
"RUSTSEC-2020-0071", # this could only impact use through our usage of liquid, and we are not using time related liquid helpers. (and only use liquid templates at build-time anyway)
24-
"RUSTSEC-2020-0159",
25-
"RUSTSEC-2021-0127" # dependency on abandoned serde_cbor, through criterion, irrelevant out of build.
26-
]
23+
notice = "warn"
24+
ignore = [
25+
"RUSTSEC-2020-0071", # liquid templates usage at build-time only
26+
"RUSTSEC-2020-0159",
27+
"RUSTSEC-2021-0127", # serde_cbor through criterion, build-time only
28+
]
29+
30+
[licenses]
31+
unlicensed = "deny"
32+
allow = [
33+
"Apache-2.0", # https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)
34+
"MIT", # https://tldrlegal.com/license/mit-license
35+
]
36+
copyleft = "warn"
37+
allow-osi-fsf-free = "either"
38+
confidence-threshold = 0.8
39+
exceptions = []
2740

2841
[bans]
2942
multiple-versions = "warn"
3043
wildcards = "allow"
44+
highlight = "all"
45+
workspace-default-features = "allow"
46+
external-default-features = "allow"
47+
allow = []
3148
deny = [
3249
# List crates we don't want in our dependency tree here.
3350
]
3451

3552
# Skip some multiple-versions checks, until they can be fixed.
3653
skip = [
37-
{ name = "quick-error", version="<2" }, # cascading from flate
38-
{ name = "itoa", version="<1" }, # cascading from flate criterion
54+
{ name = "quick-error", version = "<2" }, # cascading from flate
55+
{ name = "itoa", version = "<1" }, # cascading from flate criterion
3956
]
4057

4158
[sources]
42-
# trusted git sources.
43-
allow-git = [
44-
]
59+
unknown-registry = "warn"
60+
unknown-git = "warn"
61+
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
62+
allow-git = []
4563

46-
[licenses]
47-
allow = [
48-
"Apache-2.0", # https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)
49-
"MIT" # https://tldrlegal.com/license/mit-license
50-
]
51-
clarify = [
52-
]
53-
default = "warn"
64+
[sources.allow-org]
65+
github = ["lenna-project"]

0 commit comments

Comments
 (0)