A library for constructing efficient persistent automerge documents.
A [PersistentAutomerge] wraps an [automerge::Automerge] and handles making the changes applied
to it durable. This works by persisting every change before it is applied to the document. Then
occasionally the user should call compact to save the document in a more compact format and
cleanup the included changes. This strategy aims to be fast while also being space efficient
(up to the user's requirements).
# use MemoryPersister;
# use PersistentAutomerge;
let persister = default;
let doc = load.unwrap;