Cargo Features

bancho-packets = { version = "5.3.1", default-features = false, features = ["derive", "serde"] }
default = derive, serde

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

derive default = bancho-packets-derive

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde default

With derive and default (std)

bancho-packets-derive derive