diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index cd204d442..fec6cdb87 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -25,14 +25,6 @@ jobs: components: rustfmt - run: cargo fmt --all --check - deny: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: hecrj/setup-rust-action@v2 - - uses: taiki-e/install-action@cargo-deny - - run: cargo deny check - clippy: runs-on: ubuntu-latest steps: diff --git a/deny.toml b/deny.toml deleted file mode 100644 index edbe0bc21..000000000 --- a/deny.toml +++ /dev/null @@ -1,53 +0,0 @@ -[graph] -all-features = true -exclude = ["examples"] - -[advisories] -ignore = [ - { id = "RUSTSEC-2024-0436", reason = "paste crate is unmaintained. aws-lc-rs, aws-lc-sys and compression test depend on it." }, -] - -[bans] -multiple-versions = "deny" -deny = [ - # color-backtrace is nice but brings in too many dependencies and that are often outdated, so not worth it for us. - { crate = "color-backtrace" }, - - # dirs crate has a lot of dependencies and there are better alternatives - { crate = "dirs" }, - { crate = "dirs-sys" }, - - # deprecated - { crate = "quickersort" }, - - # term is not fully maintained, and termcolor is replacing it - { crate = "term" }, -] -skip = [ - { crate = "thiserror@1.0.69", reason = "protox depends on miette which depends on it" }, - { crate = "thiserror-impl@1.0.69", reason = "thiserror@1.0.69 depends on it" }, - { crate = "getrandom@0.2.15", reason = "quickcheck depends on rand which depends on it" }, - { crate = "wasi@0.11.0+wasi-snapshot-preview1", reason = "quickcheck depends on rand which depends on it" }, - { crate = "itertools@0.12.1", reason = "aws-lc-sys depends on bindgen which depends on it" }, - { crate = "unicode-width@0.1.14", reason = "protox depends on miette wich depends on it" }, - { crate = "rustix@0.38.44", reason = "aws-lc-sys depends on bindgen which depends on it" }, - { crate = "linux-raw-sys@0.4.15", reason = "rustix 0.38.44 depends on it" }, -] -skip-tree = [ - { crate = "windows-sys" }, - { crate = "hermit-abi" }, -] - -[licenses] -version = 2 -# We want really high confidence when inferring licenses from text -confidence-threshold = 0.92 -allow = [ - "Apache-2.0", - "ISC", - "MIT", - "OpenSSL", - "Unicode-3.0", - "MPL-2.0", - "BSD-3-Clause", -]