loro/crates/loro-internal
Zixuan Chen 9ecc0a90b1
refactor!: Add prelim support, making creating sub container easier (#300)
This PR includes a BREAKING CHANGE.

It enables you to create containers before attaching them to the document, making the API more intuitive and straightforward.

A container can be either attached to a document or detached. When it's detached, its history/state does not persist. You can attach a container to a document by inserting it into an attached container. Once a container is attached, its state, along with all of its descendants's states, will be recreated in the document. After attaching, the container and its descendants, will each have their corresponding "attached" version of themselves?

When a detached container x is attached to a document, you can use x.getAttached() to obtain the corresponding attached container.
2024-03-30 11:38:24 +08:00
..
benches refactor!: Add prelim support, making creating sub container easier (#300) 2024-03-30 11:38:24 +08:00
examples refactor!: Add prelim support, making creating sub container easier (#300) 2024-03-30 11:38:24 +08:00
fuzz Refactor fuzzing test (#271) 2024-03-08 16:40:06 +08:00
proptest-regressions/dag refactor: move loro-core to loro-internal 2023-01-16 20:08:43 +08:00
scripts feat: stabilizing encoding (#219) 2024-01-02 17:03:24 +08:00
src refactor!: Add prelim support, making creating sub container easier (#300) 2024-03-30 11:38:24 +08:00
tests refactor!: Add prelim support, making creating sub container easier (#300) 2024-03-30 11:38:24 +08:00
.gitignore refactor: move loro-core to loro-internal 2023-01-16 20:08:43 +08:00
Cargo.toml Refactor fuzzing test (#271) 2024-03-08 16:40:06 +08:00
deno.json feat: import without state 2023-08-05 23:29:11 +08:00
deno.lock feat: stabilizing encoding (#219) 2024-01-02 17:03:24 +08:00
Encoding.md feat: stabilizing encoding (#219) 2024-01-02 17:03:24 +08:00
README.md Feat-rust-api (#193) 2023-11-28 16:22:43 +08:00

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.