diff --git a/wgpu-core/Cargo.toml b/wgpu-core/Cargo.toml index 7a2b9ae15..1acd24f9a 100644 --- a/wgpu-core/Cargo.toml +++ b/wgpu-core/Cargo.toml @@ -114,7 +114,7 @@ profiling = { version = "1", default-features = false } raw-window-handle = { version = "0.6", optional = true } ron = { version = "0.8", optional = true } rustc-hash = "1.1" -serde = { version = "1", features = ["serde_derive"], optional = true } +serde = { version = "1", features = ["derive"], optional = true } smallvec = "1" thiserror = "1" diff --git a/wgpu-types/Cargo.toml b/wgpu-types/Cargo.toml index 7accda274..b61ffb632 100644 --- a/wgpu-types/Cargo.toml +++ b/wgpu-types/Cargo.toml @@ -35,7 +35,7 @@ counters = [] [dependencies] bitflags = "2" -serde = { version = "1", features = ["serde_derive"], optional = true } +serde = { version = "1", features = ["derive"], optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] js-sys = "0.3.69" @@ -47,5 +47,5 @@ web-sys = { version = "0.3.69", features = [ ] } [dev-dependencies] -serde = { version = "1", features = ["serde_derive"] } +serde = { version = "1", features = ["derive"] } serde_json = "1.0.119"