Skip to content

Commit f22c3ab

Browse files
tottotojplatte
andauthored
Update deny config (#375)
* Add regex-syntax to cargo-deny skip-tree * Remove not detected cargo-deny advisory ignore * Fix to use skip instead of skip-tree to allow duplicate regex-syntax * Fix typo Co-authored-by: Jonas Platte <jplatte+git@posteo.de> --------- Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
1 parent d22f200 commit f22c3ab

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

deny.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22
vulnerability = "deny"
33
unmaintained = "warn"
44
notice = "warn"
5-
ignore = [
6-
# Potential Unix segfault with time crate, used by chrono.
7-
# if setting env vars in threaded context, we are unlikely affected
8-
# https://github.com/time-rs/time/issues/293
9-
"RUSTSEC-2020-0159",
10-
]
5+
ignore = []
116

127
[licenses]
138
unlicensed = "deny"
@@ -36,6 +31,11 @@ license-files = [
3631
[bans]
3732
multiple-versions = "deny"
3833
highlight = "all"
34+
skip = [
35+
# tracing-subscriber depends on multiple versions of regex-syntax.
36+
# This is not actually depended by tower-http as this is caused by examples.
37+
{ name = "regex-syntax", version = ">=0.6, <= 0.7" },
38+
]
3939
skip-tree = [{ name = "tower", version = ">=0.3, <=0.4" }]
4040

4141
[sources]

0 commit comments

Comments
 (0)