Cargo Features

EmptyType has no features set by default.

[dependencies]
empty_type = { version = "0.2.2", features = ["derive", "serde"] }
derive = empty_type_derive
serde

Enables serde of empty_type_derive and empty_type_traits

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.

empty_type_derive derive? serde?