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 whenever yarnspinner_core is added without default-features = false somewhere in the dependency tree.

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