Cargo Features
[dependencies]
muds = { version = "0.1.5", default-features = false, features = ["std", "derive", "index-u64", "serde"] }
- default = std
-
The
std
feature is set by default whenevermuds
is added without
somewhere in the dependency tree.default-features = false - std default
-
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.Affects
genindexmaps::GenIndexHashMap
,storage::HashMapStorage
… - derive = muds-derive
- index-u64
-
Affects
entity_component::GenIndexType
…
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.
- muds-derive derive?
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework