Cargo Features

[dependencies]
ethertype = { version = "0.1.0", default-features = false, features = ["desc", "ieee", "serde"] }
default = desc, std

These default features are set whenever ethertype is added without default-features = false somewhere in the dependency tree.

std desc default
iana ieee
serde = serde_cr

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_cr serde?

Enables serde