7 stable releases

2.0.3 Mar 4, 2024
2.0.2 Mar 5, 2023
2.0.1 Jul 7, 2021
2.0.0 Sep 13, 2020
1.1.0 Dec 28, 2019

#116 in Data formats

Download history 2/week @ 2024-02-21 123/week @ 2024-02-28 40/week @ 2024-03-06 16/week @ 2024-03-13 4/week @ 2024-03-20 3/week @ 2024-03-27 10/week @ 2024-04-03 41/week @ 2024-04-10

59 downloads per month
Used in texel

Apache-2.0

35KB
828 lines

texel_types

Texel Types base crate containing only types and their basic functions.

This crate is meant to provide serializable data types for use with programs wishing to use scenes created with Texel ASCII art editor

Documentation

Features

  • serde_support - adds serde and serde_derive as dependencies for serialization support
  • ecs_spec - adds specs Component support for all top level types for use with ECS (since both the types and traits would be foreign if used). This is deprecated and might get removed in future major versions.

Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile on stable Rust 1.59.0 and up. It might compile with older versions but that may change in any new patch release.

Forward Compatibility

The types in this crate are meant to be forward compatible serialize-safe.

In practice it means that future versions of the Scene wrapper enum will never lose data when converting previous version of themselves¹.

Notes

¹: This promise is currently broken in V1, see documentation for an explanation.

Dependencies

~0.8–1.8MB
~37K SLoC