Skip to content

Commit

Permalink
Update deny config (#375)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

---------

Co-authored-by: Jonas Platte <[email protected]>
  • Loading branch information
tottoto and jplatte authored Jun 14, 2023
1 parent d22f200 commit f22c3ab
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
vulnerability = "deny"
unmaintained = "warn"
notice = "warn"
ignore = [
# Potential Unix segfault with time crate, used by chrono.
# if setting env vars in threaded context, we are unlikely affected
# https://github.com/time-rs/time/issues/293
"RUSTSEC-2020-0159",
]
ignore = []

[licenses]
unlicensed = "deny"
Expand Down Expand Up @@ -36,6 +31,11 @@ license-files = [
[bans]
multiple-versions = "deny"
highlight = "all"
skip = [
# tracing-subscriber depends on multiple versions of regex-syntax.
# This is not actually depended by tower-http as this is caused by examples.
{ name = "regex-syntax", version = ">=0.6, <= 0.7" },
]
skip-tree = [{ name = "tower", version = ">=0.3, <=0.4" }]

[sources]
Expand Down

0 comments on commit f22c3ab

Please sign in to comment.