mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 00:03:29 +00:00
Use derive
feature on serde
rather than serde_derive
The current code works, but `serde` documents that the feature to use is `derive` (which then happens to use the `serde_derive` implicit feature).
This commit is contained in:
parent
9796766e8e
commit
8fd08ac638
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user