mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-01-10 12:48:46 -05:00
chore(deps): update rust crate cargo_metadata to 0.20 (#7744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
@@ -40,7 +40,6 @@ arrayvec.workspace = true
|
||||
approx.workspace = true
|
||||
bitflags.workspace = true
|
||||
bytemuck.workspace = true
|
||||
cargo_metadata.workspace = true
|
||||
cfg-if.workspace = true
|
||||
ctor.workspace = true
|
||||
futures-lite.workspace = true
|
||||
@@ -62,6 +61,8 @@ trybuild.workspace = true
|
||||
|
||||
# Non-Webassembly
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
# Cargo-metadata doesn't compile on wasm due to old cargo-util-schemas dependency.
|
||||
cargo_metadata.workspace = true
|
||||
env_logger.workspace = true
|
||||
nv-flip.workspace = true
|
||||
parking_lot = { workspace = true, features = ["deadlock_detection"] }
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
// Cargo-metadata doesn't compile on wasm due to old cargo-util-schemas dependency.
|
||||
// Since this test isn't dependent on the current architecture, we can just skip it on wasm without any issues.
|
||||
#![cfg(not(target_arch = "wasm32"))]
|
||||
|
||||
use std::process::Command;
|
||||
|
||||
#[derive(Debug)]
|
||||
@@ -84,7 +88,7 @@ fn get_all_wgpu_features() -> Vec<String> {
|
||||
metadata
|
||||
.packages
|
||||
.iter()
|
||||
.find(|p| p.name == "wgpu")
|
||||
.find(|p| p.name.as_str() == "wgpu")
|
||||
.unwrap()
|
||||
.features
|
||||
.keys()
|
||||
|
||||
Reference in New Issue
Block a user