Cargo Features

cranelift-entity has no features set by default.

[dependencies]
cranelift-entity = { version = "0.108.0", features = ["enable-serde"] }
enable-serde = serde, serde_derive

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 enable-serde?
serde_derive enable-serde?