oml-storage

Crates.iooml-storage
lib.rsoml-storage
version0.4.0-alpha
sourcesrc
created_at2024-01-03 19:48:25.481294
updated_at2024-06-25 20:26:02.623551
descriptionA very simple wrapper to handle locked storage of items.
homepagehttps://github.com/AndreasOM/oml-storage
repositoryhttps://github.com/AndreasOM/oml-storage
max_upload_size
id1087716
size57,813
Andreas Neukoetter (AndreasOM)

documentation

README

oml-storage

A very simple wrapper to handle locked storage of items.

Warning

This crate is still very much in flux, and things might change a lot.

We do use it in production for one of our games, so it should be good enough.

Examples

For Examples check oml-storage-examples.

Breaking Changes

0.2.x -> 0.3.x

metadata_highest_seen_id return OptionITEM::ID

metadata_highest_seen_id returns an OptionITEM::ID now, which will be None if we haven't seen any Id yet.

0.1.x -> 0.2.x

Replaced &str ID with ITEM::ID

  • You will need to implement make_id and generate_next_id for you Items!
  • Consider extra careful testing when using anything but String for ITEM::ID
Commit count: 83

cargo fmt