Skip to content

Commit d27c8be

Browse files
authored
Fix More Dependencies (#7040)
1 parent 693d01c commit d27c8be

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

wgpu/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,23 +84,23 @@ naga-ir = ["dep:naga"]
8484
strict_asserts = ["wgpu-core?/strict_asserts", "wgpu-types/strict_asserts"]
8585

8686
## Enables serialization via `serde` on common wgpu types.
87-
serde = ["dep:serde", "wgpu-core/serde"]
87+
serde = ["dep:serde", "wgpu-core?/serde"]
8888

8989
# Uncomment once we get to https://github.com/gfx-rs/wgpu/issues/5974
9090
# ## Allow writing of trace capture files. See [`Adapter::request_device`].
9191
# trace = ["serde", "wgpu-core/trace"]
9292

9393
## Allow deserializing of trace capture files that were written with the `trace` feature.
9494
## To replay a trace file use the [wgpu player](https://github.com/gfx-rs/wgpu/tree/trunk/player).
95-
replay = ["serde", "wgpu-core/replay"]
95+
replay = ["serde", "wgpu-core?/replay"]
9696

9797
#! ### Other
9898
# --------------------------------------------------------------------
9999

100100
## Internally count resources and events for debugging purposes. If the counters
101101
## feature is disabled, the counting infrastructure is removed from the build and
102102
## the exposed counters always return 0.
103-
counters = ["wgpu-core/counters"]
103+
counters = ["wgpu-core?/counters"]
104104

105105
## Implement `Send` and `Sync` on Wasm, but only if atomics are not enabled.
106106
##
@@ -111,8 +111,8 @@ counters = ["wgpu-core/counters"]
111111
## but on a wasm binary compiled without atomics we know we are definitely
112112
## not in a multithreaded environment.
113113
fragile-send-sync-non-atomic-wasm = [
114-
"wgpu-hal/fragile-send-sync-non-atomic-wasm",
115-
"wgpu-core/fragile-send-sync-non-atomic-wasm",
114+
"wgpu-hal?/fragile-send-sync-non-atomic-wasm",
115+
"wgpu-core?/fragile-send-sync-non-atomic-wasm",
116116
"wgpu-types/fragile-send-sync-non-atomic-wasm",
117117
]
118118

@@ -126,7 +126,7 @@ fragile-send-sync-non-atomic-wasm = [
126126
## must be shipped alongside `dxcompiler.dll` and `dxil.dll` (which can be downloaded from Microsoft's GitHub).
127127
## This feature statically links a version of DXC so that no external binaries are required
128128
## to compile DX12 shaders.
129-
static-dxc = ["wgpu-hal/static-dxc"]
129+
static-dxc = ["wgpu-hal?/static-dxc"]
130130

131131
#########################
132132
# Standard Dependencies #

0 commit comments

Comments
 (0)