Cargo Features
[dependencies]
bevy-salo = { version = "0.1.1", default-features = false, features = ["fs", "bevy_app", "postcard", "ron"] }
- default = bevy_app, fs
-
These default features are set whenever
bevy-salo
is added without
somewhere in the dependency tree.default-features = false - fs default
-
This enabled file related features
Affects
bevy-salo::SaveLoadExtension.save_to_file
,bevy-salo::SaveLoadExtension.load_from_file
,methods::SerializationMethod.serialize_file
,methods::SerializationMethod.deserialize_file
…
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.