Cargo Features
[dependencies]
yarnspinner_core = { version = "0.5.0", default-features = false, features = ["std", "serde", "bevy"] }
- default = std
-
The
std
feature is set by default wheneveryarnspinner_core
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of prost ^0.12
- serde
-
Enables serde, serde of hashbrown and serialize of optional bevy
bevy:
Enable serialization support through serde
- bevy
-
Enables bevy
Affects
function_wrapping::YarnFn.call_with_world
,function_wrapping::UntypedYarnFn.call_with_world
…