wgpu-types: Do not depend on "bitflags/serde" if feature "serde" is not enabled (#8170)

This commit is contained in:
Alphyr 2025-08-29 18:31:31 +02:00 committed by GitHub
parent 5d4cf56689
commit 5a24e2474d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,7 +49,7 @@ trace = ["std"]
web = ["dep:js-sys", "dep:web-sys"]
[dependencies]
bitflags = { workspace = true, features = ["serde"] }
bitflags.workspace = true
bytemuck = { workspace = true, features = ["derive"] }
log.workspace = true
thiserror = { workspace = true, optional = true }