Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Roll back `wgpu`'s dependencies on `once_cell` from 1.20.1 to 1.19.0. Version 1.20.1 of `once_cell` added a more complex conditional dependency on `portable-atomic`, which causes `cargo metadata` to incorrectly list `portable-atomic` as a dependency even though the given `once_cell` features are not enabled. The Firefox source tree uses `cargo vet` to enforce supply-chain auditing. Since `cargo vet` depends on `cargo metadata` to tell it what crates are going to be included in the tree, the extraneous dependency above adds `portable-atomic` to the set of sources we must audit. Since `portable-atomic` is roughly 50kloc, we would like to avoid this. Nothing in `wgpu` actually needs `once_cell` 1.20; it was upgraded by Dependabot. So the simplest workaround for the moment is to roll back the version.
- Loading branch information