loro/crates/loro-internal
Zixuan Chen ac51ceb2f9
Some checks failed
Release WASM / Release (push) Has been cancelled
Test All / build (push) Has been cancelled
feat: add exportJsonInIdSpan and make peer compression optional (#602)
This change will make the internal operations more accessible to the application code.

* feat: add exportJsonInIdSpan and make peer compression optional

- Introduced `export_json_updates_without_peer_compression` method to allow exporting JSON updates without compressing peer IDs, making it easier for application code to process.
- Updated existing `export_json_updates` method to accept a `with_peer_compression` parameter, defaulting to true.
- Refactored related code in various files to accommodate the new functionality, ensuring backward compatibility.

* fix: slice err & add tests

* chore: changeset
2025-01-05 01:25:15 +08:00
..
benches feat: add exportJsonInIdSpan and make peer compression optional (#602) 2025-01-05 01:25:15 +08:00
docs refactor: add diff mode 2024-08-06 17:10:51 +08:00
examples feat: add exportJsonInIdSpan and make peer compression optional (#602) 2025-01-05 01:25:15 +08:00
fuzz chore: bump rust crates 2025-01-04 02:14:02 +08:00
proptest-regressions/dag
scripts
src feat: add exportJsonInIdSpan and make peer compression optional (#602) 2025-01-05 01:25:15 +08:00
tests feat: add exportJsonInIdSpan and make peer compression optional (#602) 2025-01-05 01:25:15 +08:00
.gitignore
Cargo.toml chore: bump rust crates 2025-01-04 02:14:02 +08:00
deno.json refactor: provide better encapsulation for dag 2024-08-16 11:40:29 +08:00
deno.lock
Encoding.md Refactor rename trimmed snapshot to shallow snapshot (#499) 2024-10-08 13:15:14 +08:00
README.md

loro-internal

This is the internal implementation of Loro. Its interface subject to change. You should not use it as dependency directly. Consider use loro crate instead.