Skip to content

CI/xtask for Validating State of Dependency Tree #6981

Open
@cwfitzgerald

Description

cargo tree is a very useful tool for evaluating the dependency tree on a given platform, package, and feature set.

We should build a set of queries that tests for/against the presence of dependencies on certain platforms in certain situations. There's no obvious programmatic output, but a regex done in an xtask would be plenty.

Discovered as part of the absolute chaos that is #6980 and to validate #6949. Possible queries:

  • cargo tree -p wgpu --target wasm32-unknown-unknown -e normal does not contain wgpu-core
  • cargo tree -p wgpu --target wasm32-unknown-unknown --features wgsl,spirv -e normal does not contain wgpu-core
  • cargo tree -p wgpu --target x86_64-pc-windows-msvc -e normal does not contain web-sys
    etc.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions