Merge branch 'master' into patch-1

This commit is contained in:
Marcel Müller 2021-02-20 07:44:39 +00:00 committed by GitHub
commit 184e44d401
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,15 @@ arbitrary data to it.
In Ruby there is [Daybreak] however for Rust there was no similar crate, until
now!
When not to use it
------------------
Rustbreak makes several trade-offs to be easy to use and extend, so knowing of these drawbacks is important if
you wish to use the library:
- The Database needs to fit into memory (Rustbreak cannot do partial loads/saves, so if the Database exceeds your available memory you will run OOM)
- Not all backends support atomic saves, so if your program crashes while it is saving you might save incomplete data (Notably only `PathBackend` supports atomic saves)
Features
--------