Cargo Features

[dependencies]
gloss-hecs = { version = "0.5.0", default-features = false, features = ["std", "macros", "column-serialize", "row-serialize", "unsafe_typeid"] }
default = std

The std feature is set by default whenever gloss-hecs is added without default-features = false somewhere in the dependency tree.

std default
macros = hecs-macros, lazy_static

Enables derive(Bundle)

column-serialize = serde

Enables the serialize::column module

Affects gloss-hecs::serialize

row-serialize = serde

Enables the serialize::row module

Affects gloss-hecs::serialize

unsafe_typeid

enable non-abi safe typeid. Useful for wasm where we won't need to dynamically load libraries anyways so we don't care about the abi

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.

hecs-macros macros?

Enables hecs-macros =0.5.0

lazy_static macros?
serde column-serialize? row-serialize?