diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3435558..ee3276b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,12 +38,12 @@ jobs: - name: Check all targets run: cargo check --all --all-targets --all-features - # deny-check: - # name: cargo-deny check - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v1 - # - uses: EmbarkStudios/cargo-deny-action@v1 + deny-check: + name: cargo-deny check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: EmbarkStudios/cargo-deny-action@v1 msrv: name: Check MSRV diff --git a/deny.toml b/deny.toml index 9876682..d8d8cd4 100644 --- a/deny.toml +++ b/deny.toml @@ -14,27 +14,26 @@ deny = [ # term is not fully maintained, and termcolor is replacing it { name = "term" }, ] -skip-tree = [ - { name = "winapi", version = "<= 0.3" }, - { name = "autocfg", version = "<= 1" }, - { name = "version_check", version = "<= 0.9" }, - { name = "scoped-tls", version = ">=0.1" }, - { name = "ansi_term", version = "<= 0.12"}, - { name = "wasi", version = "<= 0.10.0"}, +skip-tree = [ + { name = "windows-sys" }, + { name = "rustls-pemfile" }, + { name = "hermit-abi" }, ] [licenses] unlicensed = "deny" # We want really high confidence when inferring licenses from text confidence-threshold = 0.92 +copyleft = "deny" allow = [ "Apache-2.0", - "BSD-2-Clause", "BSD-3-Clause", "ISC", "MIT", "OpenSSL", "Zlib", + "Unicode-DFS-2016", + "MPL-2.0", ] [[licenses.clarify]]