bytebox

Crates.iobytebox
lib.rsbytebox
version0.1.1
sourcesrc
created_at2023-12-26 14:21:31.861462
updated_at2023-12-27 22:40:16.024521
descriptionEasy and performant data storage inspired by Flutter's shared_preferences.
homepagehttps://github.com/drafteddev/bytebox
repositoryhttps://github.com/drafteddev/bytebox
max_upload_size
id1080982
size60,613
DraftedDev (DraftedDev)

documentation

https://docs.rs/bytebox

README

ByteBox 📦

ByteBox is an easy and performant data storage solution based on MessagePack. It provides a simple interface for storing and retrieving data in a compact format, making it efficient for various applications.

Features ✨

  • Compact Storage: ByteBox uses the MessagePack format, ensuring a compact representation of your data.
  • Easy Integration: Simple API for storing and retrieving data with just a few method calls.
  • Efficient Serialization: Optimized serialization and deserialization using the rmp_serde library.

Getting Started 🚀

To use ByteBox in your Rust project, run: cargo add bytebox or just add the latest version to your Cargo.toml.

Examples 📝

Bevy Integration

You can easily use ByteBox in your Bevy app by adding the bevy feature and registering the ByteboxPlugin plugin.

Add your boxes by calling ByteboxPlugin::new().with(my_box) and access your boxes via the Res<ByteBox> type in your systems.

Commit count: 11

cargo fmt