Cargo Features

[dependencies]
rantz_suite = { version = "1.5.6", default-features = false, features = ["plugin", "spatial2d", "random", "camera2d", "proto", "cereal", "progress", "proto_progress", "cereal_progress", "all_asset_loaders", "toml", "yaml", "json", "msgpack", "xml", "csv"] }
default = camera2d, cereal, plugin, proto, random, spatial2d

These default features are set whenever rantz_suite is added without default-features = false somewhere in the dependency tree.

plugin default

Enables bevy

spatial2d default = rantz_spatial2d

Affects rantz_suite::spatial2d

random default = rantz_random

Enables random of rantz_spatial2d

Affects rantz_suite::random

camera2d default = rantz_camera2d

Affects rantz_suite::camera2d

proto default progress? = rantz_proto

Affects rantz_suite::proto

cereal default progress? = rantz_cereal

Affects rantz_suite::cereal, plugin::RantzSuitePlugin.game_name

progress = cereal, cereal_progress, proto, proto_progress
proto_progress progress?

Enables progress_tracking of rantz_proto

rantz_proto:

Support for iyes_progress

cereal_progress progress?

Enables progress_tracking of rantz_cereal

all_asset_loaders

Additional prototype formats

Enables all_asset_loaders of rantz_cereal and rantz_proto

toml

Enables toml of rantz_cereal and rantz_proto

rantz_cereal:

Support for the TOML file format
This is a straightforward choice for configuration files.

yaml

Enables yaml of rantz_cereal and rantz_proto

rantz_cereal:

Support for the YAML file format
This is a relatively common choice for configuration files,
and substantially more complex than TOML

json

Enables json of rantz_cereal and rantz_proto

rantz_cereal:

Support for the JSON file format
JSON is nearly universal, but can be a bit verbose and nitpicky.
The key advantage is that it is well-supported by web technologies,
and has robust validation tooling.

msgpack

Enables msgpack of rantz_cereal and rantz_proto

rantz_cereal:

Support for the MessagePack file format
This is a binary format that is more compact than JSON, but not human-readable.

xml

Enables xml of rantz_cereal and rantz_proto

rantz_cereal:

Support for the XML file format
XML is meaningfully more complex and less compact than JSON,
but comes with schemas and validation tools.

csv

Enables csv of rantz_cereal and rantz_proto

rantz_cereal:

Support for the CSV file format.
This is a great fit for tabular data, but notoriously flaky in edge cases due to the lack of a standard.
Good interop with spreadsheet software though!

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.

rantz_spatial2d random spatial2d
rantz_random random
rantz_camera2d camera2d
rantz_proto all_asset_loaders? csv? json? msgpack? proto proto_progress? toml? xml? yaml?
rantz_cereal all_asset_loaders? cereal cereal_progress? csv? json? msgpack? toml? xml? yaml?