bevy_serialization_extras 0.2.0

A crate for managing serialization with moonshine_save + wrappers.
Documentation

bevy_serialization_extras

A library for bevy which contains wrappers/systems for managing serialization in bevy with moonshine-save for a more "hands off" serialization workflow

demo_gif.webm

Features

  • Out of the box serialization Through [plugins] for components
    // From<Component> -> Wrapper + From<Wrapper> -> Component
    .add_plugins(SerializeComponentFor::<AsyncCollider, ColliderFlag>::default())

    // From<Asset> -> Wrapper + From<Wrapper> -> Asset
    .add_plugins(SerializeAssetFor::<StandardMaterial, MaterialFlag>::default())
    
    // From<Wrapper> -> Asset
    .add_plugins(DeserializeAssetFrom::<GeometryFlag, Mesh>::default())
  • type registration for wrappers through ManagedTypeRegistration trait

  • A visualization util to list serializable/unserializable components

For implementations of plugin trait bounds, see Wrappers