Crates.io | yrs-kvstore |
lib.rs | yrs-kvstore |
version | 0.3.0 |
source | src |
created_at | 2023-03-01 07:03:17.732618 |
updated_at | 2024-07-09 17:47:41.102569 |
description | Generic persistence layer over Yrs documents |
homepage | https://github.com/y-crdt/yrs-persistence |
repository | https://github.com/y-crdt/yrs-persistence |
max_upload_size | |
id | 797802 |
size | 26,699 |
yrs-kvstore is a generic library that allows to quickly implement
Yrs specific document operations over any kind
of persistent key-value store i.e. LMDB or RocksDB.
In order to do so, persistent unit of transaction should define set of basic operations via
KVStore
trait implementation. Once this is done it can implement DocOps
. Latter offers a
set of useful operations like document metadata management options, document and update merging
etc. They are implemented automatically as long struct has correctly implemented KVStore
.