automerge/automerge
Alex Good 837c07b23a
Correctly encode compressed changes in sync messages
Sync messages encode changes as length prefixed byte arrays. We were
calculating the length using the uncompressed bytes of a change but
encoding the bytes of the change using the (possibly) compressed bytes.
This meant that if a change was large enough to compress then it  would
fail to decode. Switch to using uncompressed bytes in sync messages.
2022-10-02 18:59:41 +01:00
..
benches Appease clippy 2022-09-28 17:18:37 -05:00
examples Access change fields through field accessors 2022-08-22 21:16:42 +01:00
src Correctly encode compressed changes in sync messages 2022-10-02 18:59:41 +01:00
tests Allow empty changes when loading document format 2022-09-30 19:00:48 +01:00
.gitignore init 2021-08-30 14:09:14 -04:00
Cargo.toml Add readme field to automerge/Cargo.toml 2022-09-01 12:27:34 +01:00