diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 6068177245..ff7d8c1a62 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -172,7 +172,7 @@ jobs: # https://github.com/EmbarkStudios/cargo-deny - name: Check rust licenses/bans/advisories/sources if: ${{ !cancelled() }} - run: cargo deny check + run: cargo deny check --hide-inclusion-graph build-neon: needs: [ check-permissions, tag ] diff --git a/deny.toml b/deny.toml index f4ea0d4dac..079dcac679 100644 --- a/deny.toml +++ b/deny.toml @@ -74,10 +74,30 @@ highlight = "all" workspace-default-features = "allow" external-default-features = "allow" allow = [] -deny = [] + skip = [] skip-tree = [] +[[bans.deny]] +# we use tokio, the same rationale applies for async-{io,waker,global-executor,executor,channel,lock}, smol +# if you find yourself here while adding a dependency, try "default-features = false", ask around on #rust +name = "async-std" + +[[bans.deny]] +name = "async-io" + +[[bans.deny]] +name = "async-waker" + +[[bans.deny]] +name = "async-global-executor" + +[[bans.deny]] +name = "async-executor" + +[[bans.deny]] +name = "smol" + # This section is considered when running `cargo deny check sources`. # More documentation about the 'sources' section can be found here: # https://embarkstudios.github.io/cargo-deny/checks/sources/cfg.html