Cargo Features

[dependencies]
entity_component = { version = "1.1.2", default-features = false, features = ["keysize16", "keysize20", "keysize24", "keysize32", "ser"] }
default = keysize16

The keysize16 feature is set by default whenever entity_component is added without default-features = false somewhere in the dependency tree.

keysize16 default

Allows for 2^16 entities

keysize20

Allows for 2^20 entities

keysize24

Allows for 2^24 entities

keysize32

Allows for 2^32 entities

ser = serde

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 ser?