bevy_pkv icon indicating copy to clipboard operation
bevy_pkv copied to clipboard

Cross-platform (including wasm) persistent key value store plugin for rust games/apps

Results 13 bevy_pkv issues
Sort by recently updated
recently updated
newest added

In some situation,it may need to clear kv data when logout app ,sled and localstorage both support clear function,so can you support it or can i create a PR?

enhancement

It would be nice it was possible to customize what kind of serializer is used. Currently it's hard-coded to rmp-serde (messagepack with struct maps) on native and serde_json on wasm.

enhancement

There's a hard limit on chrome of 5Mb which is utf16 so typically you'll have 2.5mb to play with. IndexedDb seems to have a minimum of 10x the size by...

enhancement
wasm

This adds support for **Pickle DB** alternative backend for non-wasm based environments. #32

enhancement
help wanted
native

In my iPhone 12 It works, but using Xcode virtual iPhone 14 is not working. It's failing for latest version 0.8.0 linking with `cc` failed: exit status: 1 could not...

bug
help wanted

Hi. Thanks for making this plugin - it's unbelievably useful. For my game I've built quite an ergonomic wrapper around it and I think might be worth adding something like...

Trying to see if we can improve the architecture a little (using traits instead of ducktyping-like ifdefs). Also would make testing and ci easier (could just build with all features...

enhancement

It's a bit weird that the basic example prints nothing the first time, then both "hi bob" *and* "hi alice" the second time. There should probably be some more inline-comments...

documentation
good first issue

The first time an application is run, using a default value appears clunky. Catching the `NotFound` Error is natural enough to have specific helpers for that case. There is also...

as far as i can see, the redb implementation writes off to disk after each write (which is what I would expect) and this change will make the sled implementation...