diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4aab0a6f..e9aa8d8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}-cargo-deny-0-12-2-cargo-fuzz-0-11-0-just-1-8-0 + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml', '.github/workflows/*.yml') }} - name: Check for forbidden words run: "! grep --include='*.rs' -RE 'to_be_bytes|from_be_bytes|dbg!' ." @@ -48,7 +48,7 @@ jobs: - name: Install cargo-deny if: steps.rust-cache.outputs.cache-hit != 'true' - run: cargo install --force --version 0.12.2 cargo-deny --locked + run: rustup run --install 1.70 cargo install --force --version 0.14.3 cargo-deny --locked - name: Install cargo-fuzz if: steps.rust-cache.outputs.cache-hit != 'true' diff --git a/deny.toml b/deny.toml index 61daf9ee..29a43fa8 100644 --- a/deny.toml +++ b/deny.toml @@ -72,7 +72,7 @@ unlicensed = "deny" allow = [ "MIT", # "BSD-2-Clause", - "BSD-3-Clause", +# "BSD-3-Clause", "Apache-2.0", "Apache-2.0 WITH LLVM-exception", ] @@ -107,7 +107,7 @@ exceptions = [ # Each entry is the crate and version constraint, and its specific allow # list { allow = ["Unicode-DFS-2016"], name = "unicode-ident", version = "*" }, # Used only by comfy-table in the benchmarks - { allow = ["ISC"], name = "libloading", version = "*" }, # Used only by rocksdb in the benchmarks +# { allow = ["ISC"], name = "libloading", version = "*" }, # Used only by rocksdb in the benchmarks ] # Some crates don't have (easily) machine readable licensing information, diff --git a/justfile b/justfile index 28a2fc6c..c9bbb9a2 100644 --- a/justfile +++ b/justfile @@ -3,7 +3,7 @@ build: pre cargo doc pre: - cargo deny check licenses + cargo deny --all-features check licenses cargo fmt --all -- --check cargo clippy --all --all-targets