Fix warnings from cargo-deny config on 0.9.x

This commit is contained in:
Christopher Berner 2021-06-06 16:34:04 -07:00
parent e027ef2af0
commit 2b13544514
2 changed files with 4 additions and 4 deletions

@ -29,7 +29,7 @@ jobs:
components: rustfmt, clippy
- name: Install cargo-deny
run: cargo install --force --version 0.6.8 cargo-deny --locked
run: cargo install --force --version 0.9.1 cargo-deny --locked
- name: Run tests
run: make test

@ -34,7 +34,7 @@ targets = [
# The path where the advisory database is cloned/fetched into
db-path = "~/.cargo/advisory-db"
# The url of the advisory database to use
db-url = "https://github.com/rustsec/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
# The lint level for security vulnerabilities
vulnerability = "deny"
# The lint level for unmaintained crates
@ -71,8 +71,8 @@ unlicensed = "deny"
# [possible values: any SPDX 3.7 short identifier (+ optional exception)].
allow = [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause",
# "BSD-2-Clause",
# "BSD-3-Clause",
"Apache-2.0",
#"Apache-2.0 WITH LLVM-exception",
]