Cargo Features
[dependencies]
hecs = { version = "0.10.5", default-features = false, features = ["std", "macros", "column-serialize", "row-serialize"] }
- default = std
-
The
std
feature is set by default wheneverhecs
is added without
somewhere in the dependency tree.default-features = false - std default
- macros = hecs-macros
-
Enables derive(Bundle) and derive(Query)
- column-serialize = serde
-
Enables the serialize::column module
Affects
hecs::serialize
… - row-serialize = serde
-
Enables the serialize::row module
Affects
hecs::serialize
…
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.