Cargo Features

SPIR-V has no features set by default.

[dependencies]
spirv = { version = "0.3.0+sdk-1.3.268.0", features = ["serialize", "deserialize"] }
serialize = serde

Enables serde of bitflags

deserialize = serde

Enables serde of bitflags

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde deserialize? serialize?