Cargo Features

[dependencies]
bevy_generative_grammars = { version = "0.0.2", default-features = false, features = ["bevy", "serde", "asset", "json", "msgpack", "ron", "toml", "yaml", "rand", "turborand"] }
default = json

The json feature is set by default whenever bevy_generative_grammars is added without default-features = false somewhere in the dependency tree.

bevy asset? turborand?

Enables bevy ^0.12

We can use a different feature set of Bevy for our library vs our examples and tests

serde asset?

Enables serde

asset json msgpack? ron? toml? yaml? = bevy, serde

Enables bevy_common_assets ^0.8

Affects tracery::tracery_asset

json default = asset

Enables json of optional bevy_common_assets ^0.8

msgpack = asset

Enables msgpack of optional bevy_common_assets ^0.8

ron = asset

Enables ron of optional bevy_common_assets ^0.8

toml = asset

Enables toml of optional bevy_common_assets ^0.8

yaml = asset

Enables yaml of optional bevy_common_assets ^0.8

rand

Enables rand

turborand = bevy

Enables bevy_turborand ^0.7